Show More
@@ -21,6 +21,8 b' def encodedir(path):' | |||
|
21 | 21 | 'data/foo.i.hg/bla.i' |
|
22 | 22 | >>> encodedir('data/foo.i.hg/bla.i') |
|
23 | 23 | 'data/foo.i.hg.hg/bla.i' |
|
24 | >>> encodedir('data/foo.i\\ndata/foo.i/bla.i\\ndata/foo.i.hg/bla.i\\n') | |
|
25 | 'data/foo.i\\ndata/foo.i.hg/bla.i\\ndata/foo.i.hg.hg/bla.i\\n' | |
|
24 | 26 | ''' |
|
25 | 27 | return (path |
|
26 | 28 | .replace(".hg/", ".hg.hg/") |
General Comments 0
You need to be logged in to leave comments.
Login now