tests/test-undo
author mpm@selenic.com
Sat, 27 Aug 2005 22:04:17 -0700
changeset 1117 30ab5b8ee8ec
parent 814 0902ffece4b4
child 1933 7544700fd931
permissions -rwxr-xr-x
fix some rename/copy bugs - delete copy information when we update dirstate hg was keeping the copy state and marking things as copied on multiple commits - files that are renamed should have no parents if you do a rename/copy to an existing file, it should not be marked as descending from its previous revisions. - remove spurious print from filelog.renamed - add some more copy tests

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