tests/test-rebuildstate
author Shun-ichi GOTO <shunichi.goto@gmail.com>
Fri, 18 Sep 2009 21:25:47 +0900
changeset 9463 bd017f359c08
parent 6344 ffeb926d57ce
permissions -rwxr-xr-x
win32mbcs: util.normpath should be wrapped. It is because util.normpath() finally calls windows.pconvert() which is not wrapped (by changeset:25c41ddb3978).

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