view tests/test-rebuildstate @ 6296:a9e6b8875805

debugstate: add --nodates This can be useful for tests.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Tue, 18 Mar 2008 04:07:39 -0300
parents e7ed5d07cc4c
children ffeb926d57ce
line wrap: on
line source

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

echo '% state dump'
hg debugstate --nodates | sort
echo '% status'
hg st -A

hg debugrebuildstate
echo '% state dump'
hg debugstate --nodates | sort
echo '% status'
hg st -A