Mercurial > evolve
view tests/testlib/common.sh @ 6041:6b7ef731141b
tests: move the most often used glog alias to common.sh
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 20 Sep 2021 20:47:31 +0300 |
parents | 51249e4e9025 |
children | 1cbafebe874b |
line wrap: on
line source
. $TESTDIR/testlib/pythonpath.sh mkcommit() { name="$1" shift echo "$name" > "$name" hg add "$name" hg ci -m "$name" "$@" } getid() { hg log --hidden --template '{node}\n' --rev "$1" } cat >> $HGRCPATH << EOF [alias] glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" EOF