view tests/testlib/common.sh @ 5921:c04c4383f33e

evolve: drop quotes around node in a content divergence resolution message
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 17 May 2021 19:10:22 +0800
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"
}