view tests/test-rebuildstate @ 10546:3a69afd6987e stable

fix test output changed by 2e1a9b811d13
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Thu, 25 Feb 2010 14:35:21 +0100
parents ffeb926d57ce
children
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

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