diff mercurial/profiling.py @ 31151:b4cd912d7704

util: add allowhardlinks module variable To enable extensions to enable hardlinks for certain environments, let's move the 'if False' to be an 'if allowhardlinks' and let extensions modify the allowhardlinks variable. Tests on linux ext4 pass with it set to True and to False.
author Durham Goode <durham@fb.com>
date Thu, 02 Mar 2017 10:12:40 -0800
parents 22fbca1d11ed
children f40dc6f7c12f
line wrap: on
line diff