equal
deleted
inserted
replaced
|
1 #require test-repo |
|
2 |
|
3 Enable obsolescence to avoid the warning issue when obsmarker are found |
|
4 |
|
5 $ cat << EOF >> $HGRCPATH |
|
6 > [experimental] |
|
7 > evolution=all |
|
8 > EOF |
|
9 |
|
10 Go back in the hg repo |
|
11 |
|
12 $ cd $TESTDIR/.. |
|
13 |
|
14 $ for node in `hg log --rev 'not public() and ::. and not desc("# no-check-commit")' --template '{node|short}\n'`; do |
|
15 > hg export $node | ${RUNTESTDIR}/../contrib/check-commit > ${TESTTMP}/check-commit.out |
|
16 > if [ $? -ne 0 ]; then |
|
17 > echo "Revision $node does not comply with rules" |
|
18 > echo '------------------------------------------------------' |
|
19 > cat ${TESTTMP}/check-commit.out |
|
20 > echo |
|
21 > fi |
|
22 > done |