tests/test-rebuildstate
author Joel Rosdahl <joel@rosdahl.net>
Thu, 06 Mar 2008 22:23:41 +0100
changeset 6212 e75aab656f46
parent 5858 e7ed5d07cc4c
child 6296 a9e6b8875805
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

echo '% state dump'
hg debugstate | cut -b 1-16,37- | sort
echo '% status'
hg st -A

hg debugrebuildstate
echo '% state dump'
hg debugstate | cut -b 1-16,37- | sort
echo '% status'
hg st -A