mirror of
https://github.com/facebook/sapling.git
synced 2025-01-06 04:43:19 +03:00
util: enable hardlink for some BSD-family filesystems
Since we can now detect filesystems on FreeBSD and OSX. Add their major filesystems (ufs, zfs for FreeBSD; hfs for OSX) to the hardlink whitelist.
This commit is contained in:
parent
b84e57666e
commit
057a1065b9
@ -1061,10 +1061,13 @@ _hardlinkfswhitelist = set([
|
||||
'ext2',
|
||||
'ext3',
|
||||
'ext4',
|
||||
'hfs',
|
||||
'jfs',
|
||||
'reiserfs',
|
||||
'tmpfs',
|
||||
'ufs',
|
||||
'xfs',
|
||||
'zfs',
|
||||
])
|
||||
|
||||
def copyfile(src, dest, hardlink=False, copystat=False, checkambig=False):
|
||||
|
Loading…
Reference in New Issue
Block a user