Show More
@@ -1,21 +1,21 b'' | |||
|
1 | 1 | #require test-repo |
|
2 | 2 | |
|
3 | 3 | Enable obsolescence to avoid the warning issue when obsmarker are found |
|
4 | 4 | |
|
5 | 5 | $ . "$TESTDIR/helpers-testrepo.sh" |
|
6 | 6 | |
|
7 | 7 | Go back in the hg repo |
|
8 | 8 | |
|
9 | 9 | $ cd $TESTDIR/.. |
|
10 | 10 | |
|
11 | $ for node in `hg log --rev 'not public() and ::.' --template '{node|short}\n'`; do | |
|
11 | $ for node in `hg log --rev 'not public() and ::. and not desc("# no-check-commit")' --template '{node|short}\n'`; do | |
|
12 | 12 | > hg export $node | contrib/check-commit > ${TESTTMP}/check-commit.out |
|
13 | 13 | > if [ $? -ne 0 ]; then |
|
14 | 14 | > echo "Revision $node does not comply with rules" |
|
15 | 15 | > echo '------------------------------------------------------' |
|
16 | 16 | > cat ${TESTTMP}/check-commit.out |
|
17 | 17 | > echo |
|
18 | 18 | > fi |
|
19 | 19 | > done |
|
20 | 20 | |
|
21 | 21 |
General Comments 0
You need to be logged in to leave comments.
Login now