Show More
test-pull-permission
19 lines
| 181 B
| text/plain
|
TextLexer
/ tests / test-pull-permission
|
r1244 | #!/bin/sh | ||
mkdir a | ||||
cd a | ||||
hg init | ||||
echo foo > b | ||||
hg add b | ||||
|
r1933 | hg ci -m "b" -d "1000000 0" | ||
|
r1244 | |||
|
r3853 | chmod -w .hg/store | ||
|
r1244 | |||
cd .. | ||||
hg clone a b | ||||
|
r1750 | |||
|
r3853 | chmod +w a/.hg/store # let test clean up | ||
|
r1750 | |||
|
r1244 | cd b | ||
hg verify | ||||