Skip to content

Commit 65207c7

Browse files
committed
Add warning about the technique.
1 parent 06e146e commit 65207c7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎path.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,6 +1369,11 @@ def merge_tree(self, dst, symlinks=False, *args, **kwargs):
13691369
If the additional keyword `update` is True, `src` will only be
13701370
copied if `dst` does not exist, or if `dst` does exist but is
13711371
older than `src`.
1372+
1373+
Note that the technique employed stages the files in a temporary
1374+
directory first, so this function is not suitable for merging
1375+
trees with large files, especially if the temporary directory
1376+
is not capable of storing a copy of the entire source tree.
13721377
"""
13731378
update = kwargs.pop('update', False)
13741379
with tempdir() as _temp_dir:

0 commit comments

Comments
 (0)