tests/testlib/common.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 28 Jan 2022 16:25:41 +0100
changeset 48710 b0aa9b0b9c21
parent 46764 685383486d0a
permissions -rw-r--r--
convert: use the merge action constant The constant exists, lets use them. Otherwise we cannot make these constant more powerful. Differential Revision: https://phab.mercurial-scm.org/D12113

mkcommit() {
   name="$1"
   shift
   echo "$name" > "$name"
   hg add "$name"
   hg ci -m "$name" "$@"
}