view tests/testlib/common.sh @ 5556:1bb1d36e1bc2

evolve: move a comment where it's going to belong
author Sushil khanchi <sushilkhanchi97@gmail.com>
date Thu, 13 Aug 2020 13:30:25 +0530
parents e1c26c632b6d
children 55589cb47581
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"
}

cat >> $HGRCPATH <<EOF
[alias]
debugobsolete=debugobsolete -d '0 0'
EOF