# HG changeset patch # User Valentino Volonghi aka dialtone # Date 1225314664 25200 # Node ID 9738a7c4e3ddcf8e82462f0077f38b30988135a3 # Parent f30cda3389c26223fef6de65302c8e0f10f923fe fix svn push when there's just a file removal diff --git a/svnwrap/svn_swig_wrapper.py b/svnwrap/svn_swig_wrapper.py --- 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)