tests/test-backwards-remove
author TK Soh <teekaysoh@yahoo.com>
Thu, 18 Aug 2005 13:33:39 +0100
changeset 949 d997148155f2
parent 814 0902ffece4b4
child 1933 7544700fd931
permissions -rwxr-xr-x
test fixes for Solaris 2.6 Solaris 2.6's stock sed doesn't support alternatives in regular expression. We workaround by breaking up the regexp.

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