Mercurial > evolve
view tests/testlib/common.sh @ 6039:51249e4e9025
tests: port upstream 86f39a89b63e to our version of mkcommit()
Now we can use it with --close-branch or --secret, for example.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 20 Sep 2021 19:48:47 +0300 |
parents | 55589cb47581 |
children | 6b7ef731141b |
line wrap: on
line source
. $TESTDIR/testlib/pythonpath.sh mkcommit() { name="$1" shift echo "$name" > "$name" hg add "$name" hg ci -m "$name" "$@" } getid() { hg log --hidden --template '{node}\n' --rev "$1" }