--- a/.hgrc Tue Jun 07 13:07:13 2011 -0400
+++ b/.hgrc Tue Jun 07 13:10:11 2011 -0400
@@ -209,8 +209,8 @@
vshow = !$HG show $@ | mvim -c ':AnsiEsc' -c 'setlocal buftype=nofile' -
# Run commands on all subrepos at once.
-subs = !grep = "`$HG root`/.hgsub" | cut -d' ' -f1 | xargs -n1 -I SUB $HG -R "`$HG root`/SUB" $@
-psubs = !grep = "`$HG root`/.hgsub" | cut -d' ' -f1 | parallel -j10 -I SUB $HG -R "`$HG root`/SUB" $@
+subs = !"$HG" debugsub | grep '^path' | cut -d' ' -f2 | xargs -n1 -I SUB $HG -R "`$HG root`/SUB" $@
+psubs = !"$HG" debugsub | grep '^path' | cut -d' ' -f2 | parallel -j10 -I SUB $HG -R "`$HG root`/SUB" $@
# Run a command on a subrepo:
#