diff mercurial/sshpeer.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 bb04f96df51c
children 764f4581d1f3
line wrap: on
line diff