comparison 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
comparison
equal deleted inserted replaced
387:f6050c4dde31 388:5071b8511572
2 . $(dirname $0)/common.sh 2 . $(dirname $0)/common.sh
3 3
4 for b in `hg branches -a | cut -f 1 -d ' ' | grep -v closed-branches` ; do 4 for b in `hg branches -a | cut -f 1 -d ' ' | grep -v closed-branches` ; do
5 hg co $b || break 5 hg co $b || break
6 echo Verifying $b 6 echo Verifying $b
7 verify_current_revision keep > /dev/null || break 7 verify_current_revision keep > /dev/null && \
8 echo $b Verified. 8 echo $b verified. || \
9 (echo $b failed. && /bin/rm -rf * && hg up -C $b)
9 done 10 done