##// END OF EJS Templates
convert: svn: ensure leading / is removed from paths in _find_children (broken in 2bd996d0aaf8)
Brendan Cully -
r5114:35f67dd7 default
parent child Browse files
Show More
@@ -624,9 +624,10 class convert_svn(converter_source):
624 624 return data, mode
625 625
626 626 def _find_children(self, path, revnum):
627 path = path.strip('/')
627 628 pool = Pool()
628 629 optrev = svn.core.svn_opt_revision_t()
629 630 optrev.kind = svn.core.svn_opt_revision_number
630 631 optrev.value.number = revnum
631 rpath = '/'.join([self.base, path.strip('/')]).strip('/')
632 rpath = '/'.join([self.base, path]).strip('/')
632 633 return ['%s/%s' % (path, x) for x in svn.client.ls(rpath, optrev, True, self.ctx, pool).keys()]
General Comments 0
You need to be logged in to leave comments. Login now