tests/testlib/obsmarker-common.sh
author Anton Shestakov <av6@dwimlabs.net>
Wed, 06 Dec 2017 12:10:16 +0800
changeset 35255 ad0de63e1d6a
parent 32879 1858fc2327ef
child 42968 86f39a89b63e
permissions -rw-r--r--
hgweb: move common vertex code to Graph.prototype Just to give some context to the return values: vertex() needs to return two HTML elements as strings, <li> to be used as a background and a <li> to be shown in foreground. The latter was made obsolete recently when changesets started to be rendered server-side, but background elements are still useful for now.

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