Mercurial > evolve
view tests/testlib/common.sh @ 6831:4f02e7f8d56c stable
evolve: check that the evolved revisions are indeed in the repo during abort
Otherwise we might trigger an error while trying to access a revision that was
saved into evolvestate, but wasn't yet created in the repo for whatever reason.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 23 Aug 2024 17:00:28 +0400 |
parents | b1a04ff0f99e |
children |
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} {instabilities}\n" EOF