tests/test-rebuildstate
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Tue, 28 Oct 2008 08:18:11 +0100
changeset 7273 84f807918864
parent 6344 ffeb926d57ce
permissions -rwxr-xr-x
'\' should be escaped twice, for the shell, and for tr

#!/bin/sh
# basic test for hg debugrebuildstate

hg init repo
cd repo

touch foo bar
hg ci -Am 'add foo bar'

touch baz
hg add baz
hg rm bar

hg debugrebuildstate
echo '% state dump after'
hg debugstate --nodates | sort
echo '% status'
hg st -A