tests/test-tag
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Fri, 30 Sep 2005 11:08:13 -0700
changeset 1367 a7678cbd7c28
parent 1308 2073e5a71008
child 1561 9c6d0abdb94e
permissions -rwxr-xr-x
bisect extension for mercurial it works almost the same as git-bisect: hg bisect init # start bisecting hg bisect bad # mark current revision as broken hg bisect good [<rev>] # mark <rev> as working ... the bisect code finds a new revision to try ... see if it works hg bisect good # if it worked hg bisect bad # it doesn't work continue until there is only one revision left

#!/bin/sh

hg init
echo a > a
hg add a
hg commit -m "test" -d "0 0"
hg history
hg tag -d "0 0" "bleah"
hg history

echo foo >> .hgtags
hg tag -d "0 0" "bleah2" || echo "failed"