view tests/test-rebuildstate @ 9726:430e59ff3437

keepalive: handle broken pipes gracefully during large POSTs
author Augie Fackler <durin42@gmail.com>
date Mon, 02 Nov 2009 11:03:22 -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