Mercurial > dotfiles
comparison .shell.d/50.vcs_functions.sh @ 200:a563c21235ad
vcs-functions: add mq-snapshot
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Tue, 13 Apr 2010 14:49:00 -0500 |
parents | e1a49db5c6ff |
children | 9e45ac5350fd |
comparison
equal
deleted
inserted
replaced
199:cf3ed4aa3e52 | 200:a563c21235ad |
---|---|
4 | 4 |
5 function mq () { | 5 function mq () { |
6 ( wcroot ; | 6 ( wcroot ; |
7 hg -R .hg/patches $@ | 7 hg -R .hg/patches $@ |
8 ) | 8 ) |
9 } | |
10 | |
11 function mq-snapshot () { | |
12 mq ci -m "Applied on $(hg log -r qparent --template '{node|short}\n')" | |
9 } | 13 } |
10 | 14 |
11 function ezsvnsync() { | 15 function ezsvnsync() { |
12 if [ x"$1" = "x" ] ; then | 16 if [ x"$1" = "x" ] ; then |
13 echo 'usage: ez-svn-sync repo url' | 17 echo 'usage: ez-svn-sync repo url' |