tests/testlib/common.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 10 Mar 2021 06:03:01 +0100
changeset 46764 685383486d0a
permissions -rw-r--r--
pull: allow to specify multiple sources I end up needing that on a regular basis and it turn out to be very simple to implement. See documentation and test for details. Differential Revision: https://phab.mercurial-scm.org/D10159

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