Show More
@@ -1,17 +1,17 b'' | |||||
1 | #!/bin/sh |
|
1 | #!/bin/sh | |
2 |
|
2 | |||
3 | hg init t |
|
3 | hg init t | |
4 | cd t |
|
4 | cd t | |
5 | echo foo > a |
|
5 | echo foo > a | |
6 | hg add a |
|
6 | hg add a | |
7 | hg commit -m "1" -d "1000000 0" |
|
7 | hg commit -m "1" -d "1000000 0" | |
8 | hg verify |
|
8 | hg verify | |
9 | chmod -r .hg/store/data/a.i |
|
9 | chmod -r .hg/store/data/a.i | |
10 | hg verify 2>/dev/null || echo verify failed |
|
10 | hg verify 2>/dev/null || echo verify failed | |
11 | chmod +r .hg/store/data/a.i |
|
11 | chmod +r .hg/store/data/a.i | |
12 | hg verify 2>/dev/null || echo verify failed |
|
12 | hg verify 2>/dev/null || echo verify failed | |
13 | chmod -w .hg/store/data/a.i |
|
13 | chmod -w .hg/store/data/a.i | |
14 | echo barber > a |
|
14 | echo barber > a | |
15 | hg commit -m "2" -d "1000000 0" 2>/dev/null || echo commit failed |
|
15 | hg commit -m "2" -d "1000000 0" 2>/dev/null || echo commit failed | |
16 | chmod -w ../t |
|
16 | chmod -w ../t | |
17 | hg diff |
|
17 | hg diff --nodates |
@@ -1,16 +1,22 b'' | |||||
1 | checking changesets |
|
1 | checking changesets | |
2 | checking manifests |
|
2 | checking manifests | |
3 | crosschecking files in changesets and manifests |
|
3 | crosschecking files in changesets and manifests | |
4 | checking files |
|
4 | checking files | |
5 | 1 files, 1 changesets, 1 total revisions |
|
5 | 1 files, 1 changesets, 1 total revisions | |
6 | checking changesets |
|
6 | checking changesets | |
7 | checking manifests |
|
7 | checking manifests | |
8 | crosschecking files in changesets and manifests |
|
8 | crosschecking files in changesets and manifests | |
9 | checking files |
|
9 | checking files | |
10 | verify failed |
|
10 | verify failed | |
11 | checking changesets |
|
11 | checking changesets | |
12 | checking manifests |
|
12 | checking manifests | |
13 | crosschecking files in changesets and manifests |
|
13 | crosschecking files in changesets and manifests | |
14 | checking files |
|
14 | checking files | |
15 | 1 files, 1 changesets, 1 total revisions |
|
15 | 1 files, 1 changesets, 1 total revisions | |
16 | commit failed |
|
16 | commit failed | |
|
17 | diff -r c1fab96507ef a | |||
|
18 | --- a/a | |||
|
19 | +++ b/a | |||
|
20 | @@ -1,1 +1,1 @@ foo | |||
|
21 | -foo | |||
|
22 | +barber |
General Comments 0
You need to be logged in to leave comments.
Login now