view tools/verify-all-heads.sh @ 392:35993ba9d119

urls: Make sure we preserve username in urls given to ssh.
author Augie Fackler <durin42@gmail.com>
date Sat, 06 Jun 2009 11:53:21 -0500
parents 5071b8511572
children 11c4c7242a36
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 && \
        echo $b verified. || \
        (echo $b failed. && /bin/rm -rf * && hg up -C $b)
done