tests/test-rollback
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Tue, 10 Oct 2006 18:43:20 -0300
changeset 3346 e4aa22eaa0e4
parent 2227 4f072bb06e89
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

mkdir t
cd t
hg init
echo a > a
hg add a
hg commit -m "test" -d "1000000 0"
hg verify
hg parents
hg status
hg rollback
hg verify
hg parents
hg status