tests/test-backwards-remove
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Tue, 10 Oct 2006 18:43:20 -0300
changeset 3346 e4aa22eaa0e4
parent 1933 7544700fd931
permissions -rwxr-xr-x
call ui.updateopts only after changing directories This corrects --config paths.foo=bar when it's used with --cwd

#!/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