diff mercurial/similar.py @ 31575:e506e461c7a9

util: disable hardlink for copyfile if fstype is outside a whitelist Since osutil.getfstype is available, use it to detect filesystem types. The whitelist currently includes common local filesystems on Linux where they should have good hardlink support. We may add new filesystems for other platforms later.
author Jun Wu <quark@fb.com>
date Sun, 12 Mar 2017 00:23:07 -0800
parents e1d035905b2e
children 3a383caa97f4
line wrap: on
line diff