tests/testlib/common.sh
author Aay Jay Chan <aayjaychan@itopia.com.hk>
Thu, 01 Apr 2021 22:43:55 +0800
changeset 46967 314386a19cff
parent 46764 685383486d0a
permissions -rw-r--r--
help: prepend environment variables used in hooks with "$" Most of them have "$" prefix but some don't, so adding it for consistency. Differential Revision: https://phab.mercurial-scm.org/D10398

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