##// 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:

r43238:86f39a89 default
r49534:21ac6aed default
Show More
obsmarker-common.sh
16 lines | 244 B | application/x-sh | BashLexer
mkcommit() {
name="$1"
shift
echo "$name" > "$name"
hg add "$name"
hg ci -m "$name" "$@"
}
getid() {
hg log --hidden --template '{node}\n' --rev "$1"
}
cat >> $HGRCPATH <<EOF
[alias]
debugobsolete=debugobsolete -d '0 0'
EOF