Show More
@@ -22,16 +22,16 b' class filelog(revlog):' | |||||
22 | # This avoids a collision between a file named foo and a dir named |
|
22 | # This avoids a collision between a file named foo and a dir named | |
23 | # foo.i or foo.d |
|
23 | # foo.i or foo.d | |
24 | def encodedir(self, path): |
|
24 | def encodedir(self, path): | |
25 | path.replace(".hg/", ".hg.hg/") |
|
25 | return (path | |
26 |
|
|
26 | .replace(".hg/", ".hg.hg/") | |
27 |
|
|
27 | .replace(".i/", ".i.hg/") | |
28 | return path |
|
28 | .replace(".d/", ".d.hg/")) | |
29 |
|
29 | |||
30 | def decodedir(self, path): |
|
30 | def decodedir(self, path): | |
31 | path.replace(".d.hg/", ".d/") |
|
31 | return (path | |
32 |
|
|
32 | .replace(".d.hg/", ".d/") | |
33 |
|
|
33 | .replace(".i.hg/", ".i/") | |
34 | return path |
|
34 | .replace(".hg.hg/", ".hg/")) | |
35 |
|
35 | |||
36 | def read(self, node): |
|
36 | def read(self, node): | |
37 | t = self.revision(node) |
|
37 | t = self.revision(node) |
General Comments 0
You need to be logged in to leave comments.
Login now