Commit 8202d2fd authored by Christophe Dumez's avatar Christophe Dumez

- copy with cp -af again temporarily since the new function isn't reliable


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6636 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bb315026
...@@ -780,8 +780,8 @@ class SubversionTool(UniqueObject, Folder): ...@@ -780,8 +780,8 @@ class SubversionTool(UniqueObject, Folder):
# detect created files # detect created files
files_set = self.getNewFiles(old_dir, new_dir) files_set = self.getNewFiles(old_dir, new_dir)
# Copy files # Copy files
#os.system('cp -af %s/* %s'%(new_dir, old_dir)) os.system('cp -af %s/* %s'%(new_dir, old_dir))
copytree(new_dir, old_dir) #copytree(new_dir, old_dir)
# svn add # svn add
for file in files_set: for file in files_set:
self.add(os.path.join(old_dir, file)) self.add(os.path.join(old_dir, file))
......
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