view tests/test-simple-update @ 1530:abfab59fce79

add a releasefn keyword to lock.lock releasefn is a function that will be executed when the lock is released
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Fri, 11 Nov 2005 15:34:09 -0800
parents 0902ffece4b4
children ad3d5b4367cb
line wrap: on
line source

#!/bin/sh

set -e

mkdir test
cd test
echo foo>foo
hg init
hg addremove
hg commit -m "1"
hg verify

hg clone . ../branch
cd ../branch
hg co
echo bar>>foo
hg commit -m "2"

cd ../test
hg pull ../branch
hg verify
hg co
cat foo
hg manifest