diff options
| author | Christoph Berg <myon@debian.org> | 2020-03-31 17:57:16 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2020-03-31 17:57:16 +0200 |
| commit | 2ba1bab937ec201b31cf786c93bbf0539a8e047a (patch) | |
| tree | b06e844fe4026d0c81e92acabe4add6e9438cf71 /tools/check_for_bug.sh | |
| parent | 721c02f52e5177a640c892c7958012dba3b9e520 (diff) | |
| parent | c2bdd8f8d96bf5329672163cc0905a22589d26d3 (diff) | |
Update upstream source from tag 'upstream/20200227+py3+20200213'
Update to upstream version '20200227+py3+20200213'
with Debian dir c0f9099523ece3eab9e2cb891c746aea7e83cefc
Diffstat (limited to 'tools/check_for_bug.sh')
| -rwxr-xr-x | tools/check_for_bug.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/check_for_bug.sh b/tools/check_for_bug.sh new file mode 100755 index 0000000..c8b042d --- /dev/null +++ b/tools/check_for_bug.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env sh + +# This checks a given revision to make sure that it has a bug number +# in it, of the form "#123". It should be used in your pretxncommit +# hook + +hg log -r $1 --template {desc} | egrep -q "\#[0-9]+" |
