sapling/tests/test-pull-permission

21 lines
169 B
Plaintext
Raw Normal View History

#!/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
cd b
hg verify
cd ..
chmod +w a/.hg # let test clean up