tests/test-undo
author Matt Mackall <mpm@selenic.com>
Wed, 06 Jul 2005 22:23:27 -0800
changeset 638 35f7adfefa69
parent 547 4fc63e22b1fe
child 749 7e4843b7efd2
permissions -rwxr-xr-x
Add a scheme for handling remote locking This adds an object that remembers to unlock the remote repo on destruction and lock/unlock functions for the ssh protocol. The remote repository should also unlock itself when the connection goes down.

#!/bin/sh

set -x
mkdir t
cd t
hg init
echo a > a
hg add a
hg commit -t "test" -u test -d "0 0"
hg verify
hg parents
hg status
hg undo
hg verify
hg parents
hg status