Show More
@@ -500,11 +500,12 b' class convert_svn(converter_source):' | |||||
500 | # SWIG python bindings for getdir are broken up to at least 1.4.3 |
|
500 | # SWIG python bindings for getdir are broken up to at least 1.4.3 | |
501 | if not hasattr(self, 'client_ctx'): |
|
501 | if not hasattr(self, 'client_ctx'): | |
502 | self.client_ctx = svn.client.create_context() |
|
502 | self.client_ctx = svn.client.create_context() | |
|
503 | pool = Pool() | |||
503 | optrev = svn.core.svn_opt_revision_t() |
|
504 | optrev = svn.core.svn_opt_revision_t() | |
504 | optrev.kind = svn.core.svn_opt_revision_number |
|
505 | optrev.kind = svn.core.svn_opt_revision_number | |
505 | optrev.value.number = revnum |
|
506 | optrev.value.number = revnum | |
506 | rpath = '/'.join([self.base, path]).strip('/') |
|
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 | if hasattr(self, '_find_children_fallback'): |
|
510 | if hasattr(self, '_find_children_fallback'): | |
510 | return _find_children_fallback(path, revnum) |
|
511 | return _find_children_fallback(path, revnum) |
General Comments 0
You need to be logged in to leave comments.
Login now