Mercurial > hg
annotate tests/bzr-definitions @ 22408:dc97e04c12ad
manifest: move checkforbidden to module-level
There's no need for this function to be nested, so let's just define
it once instead of every time manifest.add() gets called.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Thu, 07 Aug 2014 09:46:05 -0400 |
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 } |