tests/testlib/common.sh
author Martin von Zweigbergk <martinvonz@google.com>
Mon, 22 Nov 2021 17:21:55 -0800
changeset 48370 45a073af50a2
parent 46764 685383486d0a
permissions -rw-r--r--
errors: use detailed error for invalid commit-extras argument Differential Revision: https://phab.mercurial-scm.org/D11831

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