diff tools/verify-all-heads.sh @ 388:5071b8511572

tools: Fixes for verification that seemed to be needed.
author Augie Fackler <durin42@gmail.com>
date Mon, 01 Jun 2009 11:10:32 -0500
parents 3c87de482011
children 11c4c7242a36
line wrap: on
line diff
--- a/tools/verify-all-heads.sh
+++ b/tools/verify-all-heads.sh
@@ -4,6 +4,7 @@
 for b in `hg branches -a | cut -f 1 -d ' ' | grep -v closed-branches` ; do
     hg co $b || break
     echo Verifying $b
-    verify_current_revision keep > /dev/null || break
-    echo $b Verified.
+    verify_current_revision keep > /dev/null && \
+        echo $b verified. || \
+        (echo $b failed. && /bin/rm -rf * && hg up -C $b)
 done