Mercurial > hg
annotate tests/bzr-definitions @ 22067:14306a686e71
test-check-commit-hg.t: automatically test all 'draft() and ::.' changesets
We introduce a test-check-commit-hg.t file that will happily run the
check-commit file on all draft changeset under the working directory.
This should help newcomers to catch up with the rules. (And will helps old timer
from time to time).
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Wed, 06 Aug 2014 01:40:51 -0700 |
parents | aa9385f983fa |
children | 89872688893f |
rev | line source |
---|---|
7053 | 1 # this file holds the definitions that are used in various bzr tests |
2 | |
3 "$TESTDIR/hghave" bzr || exit 80 | |
4 | |
9042
95046688f80f
tests: remove more instances of export FOO=bar bashism
Brodie Rao <me+hg@dackz.net>
parents:
8523
diff
changeset
|
5 TERM=dumb; export TERM |
7053 | 6 echo '[extensions]' >> $HGRCPATH |
7 echo 'convert = ' >> $HGRCPATH | |
8 | |
9 glog() | |
10 { | |
20117
aa9385f983fa
tests: don't load unnecessary graphlog extension
Martin Geisler <martin@geisler.net>
parents:
16060
diff
changeset
|
11 hg log -G --template '{rev}@{branch} "{desc|firstline}" files: {files}\n' "$@" |
7053 | 12 } |
13 | |
14 manifest() | |
15 { | |
16 echo "% manifest of $2" | |
17 hg -R $1 manifest -v -r $2 | |
18 } |