diff options
| author | Matthew Poletiek <matthew.poletiek@gmail.com> | 2020-12-08 21:03:16 -0600 |
|---|---|---|
| committer | Matthew Poletiek <matthew.poletiek@gmail.com> | 2020-12-08 21:03:16 -0600 |
| commit | e99416456afd4aa8bde42016826f9a345291cbf3 (patch) | |
| tree | a7a95639cd1cb5dbe2d91a2ca8e8defafac4296d /tools/check_for_bug.sh | |
| parent | 194cf4e5e0b6a2811103a9b739a72b9afe2b886c (diff) | |
| download | chirp-e99416456afd4aa8bde42016826f9a345291cbf3.tar.gz chirp-e99416456afd4aa8bde42016826f9a345291cbf3.tar.xz | |
Initial Commit
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]+" |
