tests/testlib/common.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 02 Dec 2022 18:18:57 +0100
changeset 49868 d979c76d6e54
parent 46777 685383486d0a
permissions -rw-r--r--
path: allow to copy a path while adjusting the url This will be used by `scheme` in the next changesets.

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