tests/test-undo
author Matt Mackall <mpm@selenic.com>
Tue, 24 Jan 2006 14:49:19 +1300
changeset 1636 7da32bb3d1d3
parent 814 0902ffece4b4
child 1933 7544700fd931
permissions -rwxr-xr-x
contrib: add Chris Mason's stand-alone diff tool This uses Mercurial's diff algorithm to generate unidiffs like the traditional diff tool.

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