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

- do not check for .svn in working copy anymore


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7439 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 09ee51f6
...@@ -701,10 +701,6 @@ class SubversionTool(BaseTool, UniqueObject, Folder): ...@@ -701,10 +701,6 @@ class SubversionTool(BaseTool, UniqueObject, Folder):
bt_name = business_template.getTitle() bt_name = business_template.getTitle()
for working_copy in wc_list: for working_copy in wc_list:
working_copy = self._getWorkingPath(working_copy) working_copy = self._getWorkingPath(working_copy)
if not os.path.exists(os.path.join(working_copy, '.svn')):
raise SubversionNotAWorkingCopyError, \
"You must check out working copies in this directory: " + \
working_copy + " or choose another path in portal preferences."
if bt_name in listdir(working_copy) : if bt_name in listdir(working_copy) :
wc_path = os.path.join(working_copy, bt_name) wc_path = os.path.join(working_copy, bt_name)
if os.path.isdir(wc_path): if os.path.isdir(wc_path):
......
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