| 1 |
#require unix-permissions no-root |
| 2 |
|
| 3 |
$ hg init a |
| 4 |
$ cd a |
| 5 |
$ echo foo > b |
| 6 |
$ hg add b |
| 7 |
$ hg ci -m "b" |
| 8 |
|
| 9 |
$ chmod -w .hg/store |
| 10 |
|
| 11 |
$ cd .. |
| 12 |
|
| 13 |
$ hg clone a b |
| 14 |
requesting all changes |
| 15 |
adding changesets |
| 16 |
adding manifests |
| 17 |
adding file changes |
| 18 |
added 1 changesets with 1 changes to 1 files |
| 19 |
new changesets 97310831fa1a |
| 20 |
updating to branch default |
| 21 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
| 22 |
|
| 23 |
$ chmod +w a/.hg/store # let test clean up |
| 24 |
|
| 25 |
$ cd b |
| 26 |
$ hg verify -q |
| 27 |
|
| 28 |
$ cd .. |