util: whitelist apfs for hardlink support
authorAugie Fackler <augie@google.com>
Thu, 05 Apr 2018 10:13:01 -0400
changeset 37382 de9f9f888900
parent 37381 76823340a899
child 37383 cb70be32f5f7
util: whitelist apfs for hardlink support Seems to work fine for me. Differential Revision: https://phab.mercurial-scm.org/D3134
mercurial/util.py
--- a/mercurial/util.py	Thu Apr 05 11:33:36 2018 -0700
+++ b/mercurial/util.py	Thu Apr 05 10:13:01 2018 -0400
@@ -1544,6 +1544,7 @@
 
 # a whilelist of known filesystems where hardlink works reliably
 _hardlinkfswhitelist = {
+    'apfs',
     'btrfs',
     'ext2',
     'ext3',