tests/testlib/common.sh
author Sushil khanchi <sushilkhanchi97@gmail.com>
Wed, 31 Oct 2018 14:01:58 +0530
changeset 4248 51b69f3dfc0b
parent 2119 e1c26c632b6d
permissions -rw-r--r--
next: update the command description Now, if necessary next command evolve the next child revision by defualt. You don't need to pass the --evolve flag.

. $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