tests/test-rebuildstate
author Alexander Solovyov <piranha@piranha.org.ua>
Mon, 23 Mar 2009 13:12:03 +0100
changeset 7872 f680a1bd679b
parent 6344 ffeb926d57ce
permissions -rwxr-xr-x
contrib: add perflog and perftemplating commands to perf extension

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