view tests/test-unrelated-pull @ 638:35f7adfefa69

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.
author Matt Mackall <mpm@selenic.com>
date Wed, 06 Jul 2005 22:23:27 -0800
parents ffeb2c3a1966
children 7e4843b7efd2
line wrap: on
line source

mkdir a
cd a
hg init
echo 123 > a
hg add a
hg commit -t "a" -u a -d "0 0"

cd ..
mkdir b
cd b
hg init 
echo 321 > b
hg add b
hg commit -t "b" -u b -d "0 0"

hg pull ../a
hg heads