changeset 396:11c4c7242a36

tools: use new svn verify command instead of svn export incantations
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Tue, 09 Jun 2009 19:48:13 +0200
parents 636e9bf5d49c
children 1b9d004a8c0a
files tools/bisect-find-bad.sh tools/verify-all-heads.sh
diffstat 2 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/tools/bisect-find-bad.sh
+++ b/tools/bisect-find-bad.sh
@@ -1,4 +1,4 @@
 #!/bin/bash
 . $(dirname $0)/common.sh
-verify_current_revision $1
+hg svn verify
 exit $?
--- a/tools/verify-all-heads.sh
+++ b/tools/verify-all-heads.sh
@@ -1,10 +1,8 @@
 #!/bin/sh
 . $(dirname $0)/common.sh
 
-for b in `hg branches -a | cut -f 1 -d ' ' | grep -v closed-branches` ; do
+for b in `hg branches -aq` ; do
     hg co $b || break
-    echo Verifying $b
-    verify_current_revision keep > /dev/null && \
-        echo $b verified. || \
-        (echo $b failed. && /bin/rm -rf * && hg up -C $b)
+    echo verifying $b
+    hg svn verify
 done