tests/test-pull-permission
author Bryan O'Sullivan <bos@serpentine.com>
Tue, 08 May 2007 11:51:25 -0700
changeset 4419 59ddd43f609f
parent 3853 c0b449154a90
permissions -rwxr-xr-x
contrib/hgsh: Check for .hg/store as well as .hg/data. This is required by the new repository layout.

#!/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