changeset 305:97360cb777a8

svn_swig_wrapper: remove explicit invocation of the garbage collector It's the Subversion bindings that are broken, not Python. I think.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Fri, 01 May 2009 13:01:20 +0200
parents ce676eff002b
children e6853c7fa3af
files svnwrap/svn_swig_wrapper.py
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/svnwrap/svn_swig_wrapper.py
+++ b/svnwrap/svn_swig_wrapper.py
@@ -395,8 +395,6 @@ class SubversionRepo(object):
 
             while len(revisions) > 1:
                 yield revisions.popleft()
-                # Now is a good time to do a quick garbage collection.
-                gc.collect(0)
 
             if len(revisions) == 0:
                 # exit the loop; there is no history for the path.
@@ -406,8 +404,6 @@ class SubversionRepo(object):
                 start = r.revnum
                 yield r
             self.init_ra_and_client()
-            # Now is a good time to do a thorough garbage colection.
-            gc.collect()
 
     def commit(self, paths, message, file_data, base_revision, addeddirs,
                deleteddirs, properties, copies):