tests/test-empty-dir
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Fri, 11 Nov 2005 15:34:09 -0800
changeset 1530 abfab59fce79
parent 814 0902ffece4b4
child 1926 ba198d17eea9
permissions -rwxr-xr-x
add a releasefn keyword to lock.lock releasefn is a function that will be executed when the lock is released

#!/bin/sh

hg init
echo 123 > a
hg add a
hg commit -m "first" -d "0 0" a
mkdir sub
echo 321 > sub/b
hg add sub/b
hg commit -m "second" -d "0 0" sub/b
cat sub/b
hg co 0
cat sub/b
ls sub

true