view tools/verify-all-heads.sh @ 369:ce2b7ef74f89

Extract closed_revs into closebranches and closedrevs. Also add some comments to make the flow clearer in hge.commit_current_rev().
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Fri, 29 May 2009 12:36:23 +0200
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