Commit b3086e8e authored by Marcel Rieger's avatar Marcel Rieger
Browse files

Backport from changeset 75ef01e236e5.

parent 401e8458
......@@ -310,7 +310,7 @@ class FileSystem(object):
newname = self.handle_file_name_collision(name, destination)
destination = os.path.join(destination, newname)
if os.path.isdir(source):
shutil.copytree(source, destination)
shutil.copytree(source, destination, symlinks=True)
shutil.copy2(source, destination)
......@@ -369,7 +369,7 @@ class FileSystem(object):
fulltarget = os.path.join(path, target)
if os.path.isdir(fullsrc):
shutil.copytree(fullsrc, fulltarget)
shutil.copytree(fullsrc, fulltarget, symlinks=True)
if cut:
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