tests/test-rebuildstate
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Mon, 24 Mar 2008 16:17:19 -0300
changeset 6380 a632a9a57821
parent 6344 ffeb926d57ce
permissions -rwxr-xr-x
qclone: do not abort if remote hasn't enabled mq (issue1040)

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