Mercurial > hg
annotate tests/bzr-definitions @ 25727:b8245386ab40
templatekw: make {latesttag} a hybrid list
This maintains the previous behavior of expanding {latesttag} to a string
containing all of the tags, joined by ':'. But now it also allows list type
operations.
I'm unsure if the plural handling is correct (i.e. it seems like it is usually
"{foos % '{foo}'}"), but I guess we are stuck with this because the singular
form previously existed.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 06 Jul 2015 23:23:22 -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 } |