diff .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 |
line diff
--- a/.shell.d/50.vcs_functions.sh
+++ b/.shell.d/50.vcs_functions.sh
@@ -8,6 +8,10 @@ function mq () {
)
}
+function mq-snapshot () {
+ mq ci -m "Applied on $(hg log -r qparent --template '{node|short}\n')"
+}
+
function ezsvnsync() {
if [ x"$1" = "x" ] ; then
echo 'usage: ez-svn-sync repo url'