##// END OF EJS Templates
transaction: do not rely on a global variable to post_finalize file...
transaction: do not rely on a global variable to post_finalize file We can just add a new argument to the `addfilegenerator` function. This is more explicit and therefor clearer and less error prone. Differential Revision: https://phab.mercurial-scm.org/D12125

File last commit:

r47498:68538348 default
r49534:21ac6aed default
Show More
common.sh
7 lines | 106 B | application/x-sh | BashLexer
mkcommit() {
name="$1"
shift
echo "$name" > "$name"
hg add "$name"
hg ci -m "$name" "$@"
}