hgext/convert/subversion.py
changeset 4787 a67f185d0474
parent 4776 03844af5ebcd
child 4788 62e1b6412b62
--- a/hgext/convert/subversion.py	Tue Jul 03 04:18:24 2007 -0700
+++ b/hgext/convert/subversion.py	Tue Jul 03 10:55:46 2007 -0700
@@ -500,11 +500,12 @@
             # SWIG python bindings for getdir are broken up to at least 1.4.3
             if not hasattr(self, 'client_ctx'):
                 self.client_ctx = svn.client.create_context()
+            pool = Pool()
             optrev = svn.core.svn_opt_revision_t()
             optrev.kind = svn.core.svn_opt_revision_number
             optrev.value.number = revnum
             rpath = '/'.join([self.base, path]).strip('/')
-            return ['%s/%s' % (path, x) for x in svn.client.ls(rpath, optrev, True, self.client_ctx).keys()]
+            return ['%s/%s' % (path, x) for x in svn.client.ls(rpath, optrev, True, self.client_ctx, pool).keys()]
 
         if hasattr(self, '_find_children_fallback'):
             return _find_children_fallback(path, revnum)