tests/testlib/common.sh
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Mon, 07 Aug 2017 23:24:57 +0900
changeset 2923 8c2d3c474fc6
parent 2119 e1c26c632b6d
permissions -rw-r--r--
doc: make paragraphs before example code end with "::" for reST syntax This prevents lines in an example code from being treated as a part of normal paragraph. For issue example, lines are folded into one paragraph.

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