view tools/verify-all-heads.sh @ 356:62f90781eb10

push: don't refuse to push if it looks like we haven't pulled all changes. We can't rely on the most-recent change number matching our most-recent change number because there can be changes in svn that produce no corresponding hg changeset.
author Augie Fackler <durin42@gmail.com>
date Wed, 27 May 2009 21:40:58 -0500
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