view tests/test-rebuildstate @ 7864:c4a73d54126a

Added signature for changeset 02981000012e
author Matt Mackall <mpm@selenic.com>
date Fri, 20 Mar 2009 17:58:11 -0500
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