Commit 9f4e7ca1 authored by Christophe Dumez's avatar Christophe Dumez

- Allow commit without changelog


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6559 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 80b9ecb2
......@@ -229,7 +229,7 @@ try:
def checkin(self, path, log_message, recurse):
self._getPreferences()
try:
return self.client.checkin(path, log_message=log_message, recurse=recurse)
return self.client.checkin(path, log_message=log_message or 'none', recurse=recurse)
except pysvn.ClientError, error:
excep = self.getException()
if excep:
......@@ -262,6 +262,7 @@ try:
def revert(self, path):
self._getPreferences()
raise str(path)
return self.client.revert(path)
def log(self, path):
......
......@@ -607,7 +607,7 @@ class SubversionTool(UniqueObject, Folder):
return client.revert(path)
security.declareProtected('Import/Export objects', 'checkin')
def checkin(self, path, log_message = 'None', recurse=True):
def checkin(self, path, log_message=None, recurse=True):
"""Commit local changes.
"""
client = self._getClient(login=self.login)
......
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