view tests/test-rebuildstate @ 7863:34eaa67fc7ea

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