tests/test-locate
author Stephen Darnell <stephen@darnell.plus.com>
Wed, 26 Apr 2006 16:54:07 +0200
changeset 2133 4334be196f8d
parent 1933 7544700fd931
child 2480 519a1011db91
permissions -rwxr-xr-x
Tidyups for run-tests.py inc. try/finally cleanup and allow tests to be specified on command line

#!/bin/sh
#
mkdir t
cd t
hg init
echo 0 > a
echo 0 > b
hg ci -A -m m -d "1000000 0"
touch nottracked
hg locate a
hg locate NONEXISTENT
hg locate
hg rm a
hg ci -m m -d "1000000 0"
hg locate a
hg locate NONEXISTENT
hg locate
hg locate -r 0 a
hg locate -r 0 NONEXISTENT
hg locate -r 0