changeset 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 5698bf7ae5b9
children b14e669b98bf
files .shell.d/50.hg_functions.sh
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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