tests/test-backwards-remove
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Wed, 18 Oct 2006 18:47:50 -0300
changeset 3464 33b6c8193652
parent 1933 7544700fd931
permissions -rwxr-xr-x
Don't use test -e in tests - sh doesn't like it on Solaris

#!/bin/sh
hg init
echo This is file a1 > a
hg add a
hg commit -m "commit #0" -d "1000000 0"
ls
echo This is file b1 > b
hg add b
hg commit -m "commit #1" -d "1000000 0"
hg co 0
# B should disappear
ls