tests/test-rebuildstate
author Brodie Rao <me+hg@dackz.net>
Sun, 14 Feb 2010 01:52:31 -0500
branchstable
changeset 10463 5ddde896a19d
parent 6344 ffeb926d57ce
permissions -rwxr-xr-x
remove unused imports

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