diff svnwrap/svn_swig_wrapper.py @ 47:9738a7c4e3dd

fix svn push when there's just a file removal
author Valentino Volonghi aka dialtone <valentino@adroll.com>
date Wed, 29 Oct 2008 14:11:04 -0700
parents f30cda3389c2
children 80b923ab242b
line wrap: on
line diff
--- a/svnwrap/svn_swig_wrapper.py
+++ b/svnwrap/svn_swig_wrapper.py
@@ -4,6 +4,7 @@ import os
 import shutil
 import sys
 import tempfile
+import hashlib
 
 from svn import client
 from svn import core
@@ -316,8 +317,9 @@ class SubversionRepo(object):
                     self.pool)
                 delta.svn_txdelta_send_txstream(txdelta_stream, handler,
                                                 wh_baton, pool)
-            # TODO pass md5(new_text) instead of None
-            editor.close_file(baton, None)
+
+                # TODO pass md5(new_text) instead of None
+                editor.close_file(baton, None, pool)
 
         delta.path_driver(editor, edit_baton, base_revision, paths, driver_cb,
                           self.pool)