tests/testlib/common.sh
author Pulkit Goyal <7895pulkit@gmail.com>
Sun, 29 Apr 2018 19:18:54 +0530
changeset 3741 ec460882eab7
parent 2119 e1c26c632b6d
permissions -rw-r--r--
evolve: show cset hash in "merging conetnt-divergent changeset" While I was here I also mae de it repo.ui.status() instead of repo.ui.note() to align the behavior with rest of the messages.

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