# HG changeset patch # User Augie Fackler # Date 1274109672 18000 # Node ID 93b24cdd2cce9b92bd590f2e9fa1fda2969f5554 # Parent 5698bf7ae5b935c1a3efc4ab1ba14ef15c4ceb41 hg funcs: rename mq-snapshot to appease bash diff --git a/.shell.d/50.hg_functions.sh b/.shell.d/50.hg_functions.sh --- a/.shell.d/50.hg_functions.sh +++ b/.shell.d/50.hg_functions.sh @@ -7,9 +7,10 @@ function mq () { ) } -function mq-snapshot () { +function mq_snapshot () { mq ci -m "Applied on $(hg log -r qparent --template '{node|short}\n')" } +alias mq-snapshot=mq_snapshot function hg_rebase_all () { hg sum | egrep 'commit: .*\(clean\)$' || (echo 'abort: wc not clean' ; return 1) || return 1