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