Mercurial > hg
view tests/testlib/common.sh @ 49786:0bda07f34c01 stable
emitrevision: also check the parents in the availability closure
One of the point of having a closure is to gather the logic in it. So we gather
the logic.
The `parents[:]` part is a bit ugly but will be replaced by better code soon
anyway.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 28 Nov 2022 15:59:52 +0100 |
parents | 685383486d0a |
children |
line wrap: on
line source
mkcommit() { name="$1" shift echo "$name" > "$name" hg add "$name" hg ci -m "$name" "$@" }