Commit ac947531 authored by Christophe Dumez's avatar Christophe Dumez

- removed export function (make Zope crash)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7381 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 673d136b
...@@ -225,9 +225,6 @@ try: ...@@ -225,9 +225,6 @@ try:
raise excep raise excep
else: else:
raise error raise error
def export(self, src, dest):
return self.client.export(src_url_or_path=src, dest_path=dest)
def update(self, path): def update(self, path):
try: try:
......
...@@ -897,13 +897,6 @@ class SubversionTool(BaseTool, UniqueObject, Folder): ...@@ -897,13 +897,6 @@ class SubversionTool(BaseTool, UniqueObject, Folder):
else: else:
path = self._getWorkingPath(self.relativeToAbsolute(path, bt)) path = self._getWorkingPath(self.relativeToAbsolute(path, bt))
return client.resolved(path) return client.resolved(path)
security.declareProtected('Import/Export objects', 'export')
def export(self, src, dest):
"""Export an unversioned copy of the working copy
"""
client = self._getClient()
return client.export(src, dest)
def relativeToAbsolute(self, path, bt) : def relativeToAbsolute(self, path, bt) :
if path[0] == os.sep: if path[0] == os.sep:
......
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