tests/test-rollback
author Bryan O'Sullivan <bos@serpentine.com>
Mon, 21 Aug 2006 21:59:29 -0700
changeset 2971 63c3a1921a67
parent 2227 4f072bb06e89
permissions -rwxr-xr-x
Add ui.strict config item. This turns off command matching by unambiguous prefix, and is a good thing if you want to write future-proof scripts. This fixes issue 314.

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