tests/test-pull-permission
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Wed, 13 Jun 2007 19:15:58 -0300
changeset 4573 d092e962c4f8
parent 3853 c0b449154a90
permissions -rwxr-xr-x
localrepo.add: avoid some stats There's still an extra lstat done by dirstate.update.

#!/bin/sh

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

chmod -w .hg/store

cd ..

hg clone a b

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

cd b
hg verify