##// END OF EJS Templates
convert: svn: use a separate mempool for each ls in the 1.4 fallback path
Brendan Cully -
r4787:a67f185d default
parent child Browse files
Show More
@@ -500,11 +500,12 b' class convert_svn(converter_source):'
500 500 # SWIG python bindings for getdir are broken up to at least 1.4.3
501 501 if not hasattr(self, 'client_ctx'):
502 502 self.client_ctx = svn.client.create_context()
503 pool = Pool()
503 504 optrev = svn.core.svn_opt_revision_t()
504 505 optrev.kind = svn.core.svn_opt_revision_number
505 506 optrev.value.number = revnum
506 507 rpath = '/'.join([self.base, path]).strip('/')
507 return ['%s/%s' % (path, x) for x in svn.client.ls(rpath, optrev, True, self.client_ctx).keys()]
508 return ['%s/%s' % (path, x) for x in svn.client.ls(rpath, optrev, True, self.client_ctx, pool).keys()]
508 509
509 510 if hasattr(self, '_find_children_fallback'):
510 511 return _find_children_fallback(path, revnum)
General Comments 0
You need to be logged in to leave comments. Login now