view tests/test-bisect @ 5763:e20de0caf8e7

Show number of changesets written to bundle files by default (issue569) This was only shown with -v before.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sun, 30 Dec 2007 19:46:13 +0100
parents 9079081b8982
children 2dd202a6e15b
line wrap: on
line source

#!/bin/sh

set -e

echo "[extensions]" >> $HGRCPATH
echo "hbisect=" >> $HGRCPATH

echo % init
hg init

echo % committing changes
count=0
echo > a
while test $count -lt 32 ; do
    echo 'a' >> a
    test $count -eq 0 && hg add
    hg ci -m "msg $count" -d "$count 0"
    echo % committed changeset $count
    count=`expr $count + 1`
done

echo % log
hg log

echo % hg up -C
hg up -C

echo % bisect test
hg bisect -r
hg bisect -b
hg bisect -g 1
hg bisect -g
hg bisect -g
hg bisect -g
hg bisect -b
hg bisect -g