view tools/bisect-find-bad.sh @ 208:de3807ceea5c

Removed verify_* commands and replaced them with a shell script to pass to hg bisect --command.
author Augie Fackler <durin42@gmail.com>
date Mon, 09 Mar 2009 14:13:48 -0500
parents
children b1d2ea765516
line wrap: on
line source

#!/bin/bash
/bin/rm -rf *
svn export `hg svn info 2> /dev/null | grep '^URL: ' | sed 's/URL: //'` -`hg svn parent | sed 's/.*: //;s/ .*//'` . --force
if [ `hg st | wc -l` = 0 ] ; then
    exit 0
else
    hg revert --all
    hg purge
    exit 1
fi