Separate subup and subpull
author |
Steve Losh <steve@stevelosh.com> |
date |
Fri, 27 May 2011 18:44:52 -0400 |
parents |
99ffa357209c
|
children |
7db6f9777534
|
branches/tags |
(none) |
files |
.hgrc |
Changes
--- a/.hgrc Fri May 27 18:03:31 2011 -0400
+++ b/.hgrc Fri May 27 18:44:52 2011 -0400
@@ -202,4 +202,5 @@
vshow = !$HG show $@ | mvim -c ':AnsiEsc' -c 'setlocal buftype=nofile' -
# Update subrepos
-subup = !grep = "`$HG root`/.hgsub" | cut -d' ' -f1 | xargs -n 1 -I SUB hg pull --update --cwd "`$HG root`/SUB"
+subpull = !grep = "`$HG root`/.hgsub" | cut -d' ' -f1 | xargs -n 1 -I SUB hg pull --cwd "`$HG root`/SUB"
+subup = !grep = "`$HG root`/.hgsub" | cut -d' ' -f1 | xargs -n 1 -I SUB hg update --cwd "`$HG root`/SUB"