diff svnwrap/svn_swig_wrapper.py @ 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 c4061e57974c
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):