Mercurial > hg
view tests/testlib/obsmarker-common.sh @ 50189:6065a8936b00
narrow: write the narrow spec in a transaction during clone
It will be simpler if all write happens within transaction.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 23 Feb 2023 04:35:16 +0100 |
parents | 86f39a89b63e |
children |
line wrap: on
line source
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] debugobsolete=debugobsolete -d '0 0' EOF