##// END OF EJS Templates
add benoit's test for issue148.
add benoit's test for issue148.

File last commit:

r1933:7544700f default
r2000:6f6e210b default
Show More
test-pull-permission
19 lines | 169 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
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg ci -m "b" -d "1000000 0"
mpm@selenic.com
clone: fall back to pull if we can't lock the source repo
r1244
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