view tests/test-rebuildstate @ 7192:f31ba106fc19

patchbomb: mime-encode clean utf-8 patches (issue814) Fixes issue814, but only for utf.
author Christian Ebert <blacktrash@gmx.net>
date Mon, 20 Oct 2008 17:40:29 +0200
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