Show More
@@ -171,8 +171,9 b' class basicstore:' | |||
|
171 | 171 | self.pathjoiner = pathjoiner |
|
172 | 172 | self.path = path |
|
173 | 173 | self.createmode = _calcmode(path) |
|
174 |
|
|
|
175 |
|
|
|
174 | op = opener(self.path) | |
|
175 | op.createmode = self.createmode | |
|
176 | self.opener = lambda f, *args, **kw: op(encodedir(f), *args, **kw) | |
|
176 | 177 | |
|
177 | 178 | def join(self, f): |
|
178 | 179 | return self.pathjoiner(self.path, encodedir(f)) |
@@ -48,4 +48,23 b' echo' | |||
|
48 | 48 | echo "% hg verify" |
|
49 | 49 | hg verify |
|
50 | 50 | |
|
51 | # try non store repo encoding | |
|
52 | cd .. | |
|
53 | echo % non store repo | |
|
54 | hg --config format.usestore=False init foo | |
|
55 | cd foo | |
|
56 | mkdir tst.d | |
|
57 | echo foo > tst.d/foo | |
|
58 | hg ci -Amfoo | |
|
59 | ls -R .hg | |
|
60 | ||
|
61 | cd .. | |
|
62 | echo % non fncache repo | |
|
63 | hg --config format.usefncache=False init bar | |
|
64 | cd bar | |
|
65 | mkdir tst.d | |
|
66 | echo foo > tst.d/Foo | |
|
67 | hg ci -Amfoo | |
|
68 | ls -R .hg | |
|
69 | ||
|
51 | 70 | exit 0 |
@@ -41,3 +41,41 b' checking files' | |||
|
41 | 41 | 3 files, 3 changesets, 3 total revisions |
|
42 | 42 | 3 integrity errors encountered! |
|
43 | 43 | (first damaged changeset appears to be 0) |
|
44 | % non store repo | |
|
45 | adding tst.d/foo | |
|
46 | .hg: | |
|
47 | 00changelog.i | |
|
48 | 00manifest.i | |
|
49 | data | |
|
50 | dirstate | |
|
51 | requires | |
|
52 | undo | |
|
53 | undo.branch | |
|
54 | undo.dirstate | |
|
55 | ||
|
56 | .hg/data: | |
|
57 | tst.d.hg | |
|
58 | ||
|
59 | .hg/data/tst.d.hg: | |
|
60 | foo.i | |
|
61 | % non fncache repo | |
|
62 | adding tst.d/Foo | |
|
63 | .hg: | |
|
64 | 00changelog.i | |
|
65 | dirstate | |
|
66 | requires | |
|
67 | store | |
|
68 | undo.branch | |
|
69 | undo.dirstate | |
|
70 | ||
|
71 | .hg/store: | |
|
72 | 00changelog.i | |
|
73 | 00manifest.i | |
|
74 | data | |
|
75 | undo | |
|
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