Mercurial > dotfiles
diff .shell.d/50.hg_functions.sh @ 253:93b24cdd2cce
hg funcs: rename mq-snapshot to appease bash
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Mon, 17 May 2010 10:21:12 -0500 |
parents | 369d869082fd |
children | 142fb39e4e55 |
line wrap: on
line diff
--- 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