tests/test-rebuildstate
author Brendan Cully <brendan@kublai.com>
Sat, 18 Oct 2008 16:40:01 -0700
changeset 7158 d1d011accf94
parent 6344 ffeb926d57ce
permissions -rwxr-xr-x
mq: let qimport read patches from URLs

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