Show More
@@ -14,7 +14,6 b' from mercurial import (' | |||||
14 | error, |
|
14 | error, | |
15 | pycompat, |
|
15 | pycompat, | |
16 | scmutil, |
|
16 | scmutil, | |
17 | strutil, |
|
|||
18 | util, |
|
17 | util, | |
19 | ) |
|
18 | ) | |
20 |
|
19 | |||
@@ -1239,7 +1238,8 b' class svn_sink(converter_sink, commandli' | |||||
1239 | for f in files: |
|
1238 | for f in files: | |
1240 | if os.path.isdir(self.wjoin(f)): |
|
1239 | if os.path.isdir(self.wjoin(f)): | |
1241 | dirs.add(f) |
|
1240 | dirs.add(f) | |
1242 | for i in strutil.rfindall(f, '/'): |
|
1241 | i = len(f) | |
|
1242 | for i in iter(lambda: f.rfind('/', 0, i), -1): | |||
1243 | dirs.add(f[:i]) |
|
1243 | dirs.add(f[:i]) | |
1244 | return dirs |
|
1244 | return dirs | |
1245 |
|
1245 |
General Comments 0
You need to be logged in to leave comments.
Login now