tests/test-undo
author Bryan O'Sullivan <bos@serpentine.com>
Fri, 16 Sep 2005 14:50:06 -0700
changeset 1267 b0633406c07a
parent 814 0902ffece4b4
child 1933 7544700fd931
permissions -rwxr-xr-x
Fix diff command so it doesn't walk the dirstate unnecessarily.

#!/bin/sh

mkdir t
cd t
hg init
echo a > a
hg add a
hg commit -m "test" -d "0 0"
hg verify
hg parents
hg status
hg undo
hg verify
hg parents
hg status