hgext/convert/subversion.py
changeset 6397 e1402cf5e08a
parent 6281 3e5f99b13998
child 6399 5efd447a9b8d
--- a/hgext/convert/subversion.py	Sat Mar 29 17:14:47 2008 +0100
+++ b/hgext/convert/subversion.py	Sat Mar 29 17:14:53 2008 +0100
@@ -95,6 +95,10 @@
     else:
         pickle.dump(None, fp, protocol)
     fp.close()
+    # With large history, cleanup process goes crazy and suddenly
+    # consumes *huge* amount of memory. The output file being closed,
+    # there is no need for clean termination.
+    os._exit(0)
 
 def debugsvnlog(ui, **opts):
     """Fetch SVN log in a subprocess and channel them back to parent to