Commit 02d3213c authored by Christophe Dumez's avatar Christophe Dumez

- Fixed svn del (wasn't working!)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6548 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 663d1f5c
...@@ -324,7 +324,7 @@ try: ...@@ -324,7 +324,7 @@ try:
def remove(self, path): def remove(self, path):
self._getPreferences() self._getPreferences()
return self.client.remove(path=path, force=True) return self.client.remove(url_or_path=path, force=True)
def newSubversionClient(container, **kw): def newSubversionClient(container, **kw):
return SubversionClient(container, **kw).__of__(container) return SubversionClient(container, **kw).__of__(container)
......
...@@ -672,10 +672,7 @@ class SubversionTool(UniqueObject, Folder): ...@@ -672,10 +672,7 @@ class SubversionTool(UniqueObject, Folder):
# svn del # svn del
for file in files_list: for file in files_list:
if file: if file:
try:
self.remove(file) self.remove(file)
except:
pass
def addNewFiles(self, old_dir, new_dir): def addNewFiles(self, old_dir, new_dir):
# detect created files # detect created files
......
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