Show More
@@ -185,6 +185,8 b' class svn_source(converter_source):' | |||
|
185 | 185 | self.ra = self.transport.ra |
|
186 | 186 | self.ctx = self.transport.client |
|
187 | 187 | self.base = svn.ra.get_repos_root(self.ra) |
|
188 | # Module is either empty or a repository path starting with | |
|
189 | # a slash and not ending with a slash. | |
|
188 | 190 | self.module = self.url[len(self.base):] |
|
189 | 191 | self.rootmodule = self.module |
|
190 | 192 | self.commits = {} |
@@ -543,10 +545,10 b' class svn_source(converter_source):' | |||
|
543 | 545 | # "/CMFPlone/branches/Plone-2_0-branch/tests/PloneTestCase.py" |
|
544 | 546 | # that is to say "tests/PloneTestCase.py" |
|
545 | 547 | if path.startswith(module): |
|
546 | relative = path[len(module):] | |
|
548 | relative = path.rstrip('/')[len(module):] | |
|
547 | 549 | if relative.startswith('/'): |
|
548 | 550 | return relative[1:] |
|
549 |
el |
|
|
551 | elif relative == '': | |
|
550 | 552 | return relative |
|
551 | 553 | |
|
552 | 554 | # The path is outside our tracked tree... |
General Comments 0
You need to be logged in to leave comments.
Login now