Mercurial > hg
diff hgeditor @ 23899:4e451d1359de
copyfile: allow optional hardlinking
Some code paths use 'copyfiles' (full tree) for a single file to take advantage
of the best-effort-hard-linking parameter. We add similar parameter and logic
to 'copyfile' (single file) for this purpose.
The single file version have the advantage to overwrite the destination file if
it exists.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Mon, 05 Jan 2015 12:39:09 -0800 |
parents | 2b440bb8a66b |
children | 1aee2ab0f902 |