Commit c8355e59 authored by Christophe Dumez's avatar Christophe Dumez

- Fixed unicode in changelog when committing (reported by Kevin)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8278 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a57b0073
......@@ -964,6 +964,9 @@ class SubversionTool(BaseTool, UniqueObject, Folder):
path = self._getWorkingPath(self.relativeToAbsolute(path, \
business_template))
client = self._getClient()
# Pysvn wants unicode objects
if isinstance(log_message, str):
log_message = log_message.decode('utf8')
return client.checkin(path, log_message, recurse)
security.declareProtected('Import/Export objects', 'getLastChangelog')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment