# HG changeset patch
# User Steve Losh <steve@stevelosh.com>
# Date 1307466611 14400
# Node ID 7bde1e391350acf803474db7f49abbf4aae3c2fb
# Parent  1498ffc60c4522ea890636826c18797e8a0ad2d1
Use debugsub.

diff -r 1498ffc60c45 -r 7bde1e391350 .hgrc
--- 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:
 #