[PATCH] transaction: enable hardlink backups for non-windows systems

Sean Farley sean at farley.io
Tue Feb 21 18:52:13 EST 2017


Augie Fackler <raf at durin42.com> writes:

> On Tue, Feb 14, 2017 at 01:31:02AM -0800, Jeroen Vaelen wrote:
>> # HG changeset patch
>> # User Jeroen Vaelen <jeroen at fb.com>
>> # Date 1487064458 28800
>> #      Tue Feb 14 01:27:38 2017 -0800
>> # Node ID c7fb7ac39a12c8683518bb7db7e1a93346e017e0
>> # Parent  a0e3d808690d57d1c9dff840e0b8ee099526397b
>> transaction: enable hardlink backups for non-windows systems
>>
>> 07a92bbd02e5 disabled hardlink backups entirely because they can cause trouble
>> with CIFS on Windows (see issue 4546). This changeset limits that restriction
>> to Windows systems. Ideally we check for CIFS, because e.g. NTFS does support
>> hardlinks. But this at least gives us cheaper transactional backups for posix,
>> which is a step forward.
>
> I'm hesitant to take this because as of 10.12 macOS is pushing people
> towards CIFS instead of AFP

Actually, it's since 10.9:

http://appleinsider.com/articles/13/06/11/apple-shifts-from-afp-file-sharing-to-smb2-in-os-x-109-mavericks


More information about the Mercurial-devel mailing list