##// END OF EJS Templates

File last commit:

r1750:955a7caf default
r1932:82995896 merge default
Show More
test-pull-permission
19 lines | 163 B | text/plain | TextLexer
/ tests / test-pull-permission
mpm@selenic.com
clone: fall back to pull if we can't lock the source repo
r1244 #!/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
Benoit Boissinot
make test-pull-permission cleanup correctly in case of errors
r1750
chmod +w a/.hg # let test clean up
mpm@selenic.com
clone: fall back to pull if we can't lock the source repo
r1244 cd b
hg verify