view tools/verify-all-heads.sh @ 481:e5a9c824ffbf

Make tearDown() be able to delete read-only files to avoid an exception when removing 'testrepo/db/format'
author Risto Kankkunen <risto.kankkunen@iki.fi>
date Wed, 29 Jul 2009 18:03:02 +0300
parents 3c87de482011
children 5071b8511572
line wrap: on
line source

#!/bin/sh
. $(dirname $0)/common.sh

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.
done