Show More
@@ -1,70 +1,70 b'' | |||||
1 | #!/bin/sh |
|
1 | #!/bin/sh | |
2 |
|
2 | |||
3 | echo "% init repo1" |
|
3 | echo "% init repo1" | |
4 | hg init repo1 |
|
4 | hg init repo1 | |
5 | cd repo1 |
|
5 | cd repo1 | |
6 |
|
6 | |||
7 | echo |
|
7 | echo | |
8 | echo "% add a; ci" |
|
8 | echo "% add a; ci" | |
9 | echo "some text" > a |
|
9 | echo "some text" > a | |
10 | hg add |
|
10 | hg add | |
11 | hg ci -m first |
|
11 | hg ci -m first | |
12 |
|
12 | |||
13 | echo |
|
13 | echo | |
14 | echo "% cat .hg/store/fncache" |
|
14 | echo "% cat .hg/store/fncache" | |
15 | cat .hg/store/fncache |
|
15 | cat .hg/store/fncache | |
16 |
|
16 | |||
17 | echo |
|
17 | echo | |
18 | echo "% add a.i/b; ci" |
|
18 | echo "% add a.i/b; ci" | |
19 | mkdir a.i |
|
19 | mkdir a.i | |
20 | echo "some other text" > a.i/b |
|
20 | echo "some other text" > a.i/b | |
21 | hg add |
|
21 | hg add | |
22 | hg ci -m second |
|
22 | hg ci -m second | |
23 |
|
23 | |||
24 | echo |
|
24 | echo | |
25 | echo "% cat .hg/store/fncache" |
|
25 | echo "% cat .hg/store/fncache" | |
26 | cat .hg/store/fncache |
|
26 | cat .hg/store/fncache | |
27 |
|
27 | |||
28 | echo |
|
28 | echo | |
29 | echo "% add a.i.hg/c; ci" |
|
29 | echo "% add a.i.hg/c; ci" | |
30 | mkdir a.i.hg |
|
30 | mkdir a.i.hg | |
31 | echo "yet another text" > a.i.hg/c |
|
31 | echo "yet another text" > a.i.hg/c | |
32 | hg add |
|
32 | hg add | |
33 | hg ci -m third |
|
33 | hg ci -m third | |
34 |
|
34 | |||
35 | echo |
|
35 | echo | |
36 | echo "% cat .hg/store/fncache" |
|
36 | echo "% cat .hg/store/fncache" | |
37 | cat .hg/store/fncache |
|
37 | cat .hg/store/fncache | |
38 |
|
38 | |||
39 | echo |
|
39 | echo | |
40 | echo "% hg verify" |
|
40 | echo "% hg verify" | |
41 | hg verify |
|
41 | hg verify | |
42 |
|
42 | |||
43 | echo |
|
43 | echo | |
44 | echo "% rm .hg/store/fncache" |
|
44 | echo "% rm .hg/store/fncache" | |
45 | rm .hg/store/fncache |
|
45 | rm .hg/store/fncache | |
46 |
|
46 | |||
47 | echo |
|
47 | echo | |
48 | echo "% hg verify" |
|
48 | echo "% hg verify" | |
49 | hg verify |
|
49 | hg verify | |
50 |
|
50 | |||
51 | # try non store repo encoding |
|
51 | # try non store repo encoding | |
52 | cd .. |
|
52 | cd .. | |
53 | echo % non store repo |
|
53 | echo % non store repo | |
54 | hg --config format.usestore=False init foo |
|
54 | hg --config format.usestore=False init foo | |
55 | cd foo |
|
55 | cd foo | |
56 | mkdir tst.d |
|
56 | mkdir tst.d | |
57 | echo foo > tst.d/foo |
|
57 | echo foo > tst.d/foo | |
58 | hg ci -Amfoo |
|
58 | hg ci -Amfoo | |
59 | ls -R .hg |
|
59 | find .hg | sort | |
60 |
|
60 | |||
61 | cd .. |
|
61 | cd .. | |
62 | echo % non fncache repo |
|
62 | echo % non fncache repo | |
63 | hg --config format.usefncache=False init bar |
|
63 | hg --config format.usefncache=False init bar | |
64 | cd bar |
|
64 | cd bar | |
65 | mkdir tst.d |
|
65 | mkdir tst.d | |
66 | echo foo > tst.d/Foo |
|
66 | echo foo > tst.d/Foo | |
67 | hg ci -Amfoo |
|
67 | hg ci -Amfoo | |
68 | ls -R .hg |
|
68 | find .hg | sort | |
69 |
|
69 | |||
70 | exit 0 |
|
70 | exit 0 |
@@ -1,81 +1,71 b'' | |||||
1 | % init repo1 |
|
1 | % init repo1 | |
2 |
|
2 | |||
3 | % add a; ci |
|
3 | % add a; ci | |
4 | adding a |
|
4 | adding a | |
5 |
|
5 | |||
6 | % cat .hg/store/fncache |
|
6 | % cat .hg/store/fncache | |
7 | data/a.i |
|
7 | data/a.i | |
8 |
|
8 | |||
9 | % add a.i/b; ci |
|
9 | % add a.i/b; ci | |
10 | adding a.i/b |
|
10 | adding a.i/b | |
11 |
|
11 | |||
12 | % cat .hg/store/fncache |
|
12 | % cat .hg/store/fncache | |
13 | data/a.i |
|
13 | data/a.i | |
14 | data/a.i.hg/b.i |
|
14 | data/a.i.hg/b.i | |
15 |
|
15 | |||
16 | % add a.i.hg/c; ci |
|
16 | % add a.i.hg/c; ci | |
17 | adding a.i.hg/c |
|
17 | adding a.i.hg/c | |
18 |
|
18 | |||
19 | % cat .hg/store/fncache |
|
19 | % cat .hg/store/fncache | |
20 | data/a.i |
|
20 | data/a.i | |
21 | data/a.i.hg/b.i |
|
21 | data/a.i.hg/b.i | |
22 | data/a.i.hg.hg/c.i |
|
22 | data/a.i.hg.hg/c.i | |
23 |
|
23 | |||
24 | % hg verify |
|
24 | % hg verify | |
25 | checking changesets |
|
25 | checking changesets | |
26 | checking manifests |
|
26 | checking manifests | |
27 | crosschecking files in changesets and manifests |
|
27 | crosschecking files in changesets and manifests | |
28 | checking files |
|
28 | checking files | |
29 | 3 files, 3 changesets, 3 total revisions |
|
29 | 3 files, 3 changesets, 3 total revisions | |
30 |
|
30 | |||
31 | % rm .hg/store/fncache |
|
31 | % rm .hg/store/fncache | |
32 |
|
32 | |||
33 | % hg verify |
|
33 | % hg verify | |
34 | checking changesets |
|
34 | checking changesets | |
35 | checking manifests |
|
35 | checking manifests | |
36 | crosschecking files in changesets and manifests |
|
36 | crosschecking files in changesets and manifests | |
37 | checking files |
|
37 | checking files | |
38 | data/a.i@0: missing revlog! |
|
38 | data/a.i@0: missing revlog! | |
39 | data/a.i.hg/c.i@2: missing revlog! |
|
39 | data/a.i.hg/c.i@2: missing revlog! | |
40 | data/a.i/b.i@1: missing revlog! |
|
40 | data/a.i/b.i@1: missing revlog! | |
41 | 3 files, 3 changesets, 3 total revisions |
|
41 | 3 files, 3 changesets, 3 total revisions | |
42 | 3 integrity errors encountered! |
|
42 | 3 integrity errors encountered! | |
43 | (first damaged changeset appears to be 0) |
|
43 | (first damaged changeset appears to be 0) | |
44 | % non store repo |
|
44 | % non store repo | |
45 | adding tst.d/foo |
|
45 | adding tst.d/foo | |
46 |
.hg |
|
46 | .hg | |
47 | 00changelog.i |
|
47 | .hg/00changelog.i | |
48 | 00manifest.i |
|
48 | .hg/00manifest.i | |
49 | data |
|
49 | .hg/data | |
50 | dirstate |
|
50 | .hg/data/tst.d.hg | |
51 | requires |
|
51 | .hg/data/tst.d.hg/foo.i | |
52 | undo |
|
52 | .hg/dirstate | |
53 | undo.branch |
|
53 | .hg/requires | |
54 | undo.dirstate |
|
54 | .hg/undo | |
55 |
|
55 | .hg/undo.branch | ||
56 | .hg/data: |
|
56 | .hg/undo.dirstate | |
57 | tst.d.hg |
|
|||
58 |
|
||||
59 | .hg/data/tst.d.hg: |
|
|||
60 | foo.i |
|
|||
61 | % non fncache repo |
|
57 | % non fncache repo | |
62 | adding tst.d/Foo |
|
58 | adding tst.d/Foo | |
63 |
.hg |
|
59 | .hg | |
64 | 00changelog.i |
|
60 | .hg/00changelog.i | |
65 | dirstate |
|
61 | .hg/dirstate | |
66 | requires |
|
62 | .hg/requires | |
67 | store |
|
63 | .hg/store | |
68 | undo.branch |
|
64 | .hg/store/00changelog.i | |
69 | undo.dirstate |
|
65 | .hg/store/00manifest.i | |
70 |
|
66 | .hg/store/data | ||
71 | .hg/store: |
|
67 | .hg/store/data/tst.d.hg | |
72 | 00changelog.i |
|
68 | .hg/store/data/tst.d.hg/_foo.i | |
73 | 00manifest.i |
|
69 | .hg/store/undo | |
74 | data |
|
70 | .hg/undo.branch | |
75 | undo |
|
71 | .hg/undo.dirstate | |
76 |
|
||||
77 | .hg/store/data: |
|
|||
78 | tst.d.hg |
|
|||
79 |
|
||||
80 | .hg/store/data/tst.d.hg: |
|
|||
81 | _foo.i |
|
General Comments 0
You need to be logged in to leave comments.
Login now