view tests/testlib/common.sh @ 5966:701a91a23799

tests: there's no need to have hgext. before extension name
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 19 Jun 2021 09:41:06 +0300
parents 55589cb47581
children 51249e4e9025
line wrap: on
line source

. $TESTDIR/testlib/pythonpath.sh

mkcommit() {
   echo "$1" > "$1"
   hg add "$1"
   hg ci -m "$1"
}

getid() {
   hg log --hidden --template '{node}\n' --rev "$1"
}