tests/test-pull-permission
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Wed, 01 Mar 2006 14:52:28 +0100
changeset 1820 7e10518b2b9e
parent 1750 955a7caf005c
child 1933 7544700fd931
permissions -rwxr-xr-x
Really fix bash_completion on Solaris. Maybe. Hopefully. Use substr instead of sub.

#!/bin/sh

mkdir a
cd a
hg init
echo foo > b
hg add b
hg ci -m "b" -d "0 0"

chmod -w .hg

cd ..

hg clone a b

chmod +w a/.hg # let test clean up

cd b
hg verify