view tests/test-rebuildstate @ 6616:e9dfe4e3ee6f

hgk: difftree must match all files when supplied list is empty
author Patrick Mezard <pmezard@gmail.com>
date Sun, 18 May 2008 23:31:54 +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