tests/test-rollback
author Vadim Gelfer <vadim.gelfer@gmail.com>
Thu, 11 May 2006 22:10:47 -0700
changeset 2272 e9a0ed9ed4d9
parent 2227 4f072bb06e89
permissions -rwxr-xr-x
revert: fix corner case found by faheem mitha. if file not in dest manifest, remove only if in source manifest.

#!/bin/sh

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