tests/test-rebuildstate
author Dennis Schoen <dennis.schoen@epublica.de>
Tue, 02 Sep 2008 15:41:51 +0200
changeset 6974 8997b81a33da
parent 6344 ffeb926d57ce
permissions -rwxr-xr-x
fix changegroup.notify hook broken by fb42030d79d6

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