tests/test-undo
author Thomas Arendsen Hein <thomas@intevation.de>
Thu, 23 Feb 2006 22:37:29 +0100
changeset 1799 b942f5cfd326
parent 814 0902ffece4b4
child 1933 7544700fd931
permissions -rwxr-xr-x
Replaced fixed window size for walkchangerevs with an increasing one. Window sizes starts at 8 (for good interactiveness) and doubles with each window until it is 512, which seems to be the maximum efficient value.

#!/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