Seems like we are blindly trying to hard link.
If we wanted, we could try using the win32 apis for doing NTFS hard links. Alternatively, we could detect "getattr(os, 'link', None) is None" and abort with a BzrCommandError that the user requested --hardlink on a platform without support for it.
Seems like we are blindly trying to hard link.
If we wanted, we could try using the win32 apis for doing NTFS hard links.
Alternatively, we could detect "getattr(os, 'link', None) is None" and abort with a BzrCommandError that the user requested --hardlink on a platform without support for it.