tests/test-rebuildstate
author Cédric Duval <cedricduval@free.fr>
Sun, 21 Jun 2009 17:19:34 +0200
changeset 8878 231f9d92fd7a
parent 6344 ffeb926d57ce
permissions -rwxr-xr-x
extensions: use _order to determine if an extension is enabled

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