subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Schöning <tschoen...@am-soft.de>
Subject Re: symlinks on Windows
Date Thu, 07 Nov 2013 09:24:16 GMT
Guten Tag Ben Reser,
am Donnerstag, 7. November 2013 um 09:46 schrieben Sie:

> I think nobody has put the effort into figuring out the appropriate way of
> dealing with this.  The obvious thing to do would be to fall back to the
> current behavior if the permission isn't available.

Subversion could fall back to using junctions if the link target is a
directory or hardlinks if it is a file. Junctions don't support links
to things like network shares, though, but it's better than nothing
and will surely cover 99% of the use cases. Hardlinks have the same
caveat of course and suffer form recreation of files, like when a file
gets reverted the former created hardlink to it will get invalid. But
in theory as Subversion should normally be the on doing the revert it
could beforehand get all hardlinks to the file and recreate those
after the revert. Getting all hardlinks to a file is fast operation
since Vista.

Of course it sucks that symlinks are restricted on Windows, opposed to
junctions and hardlinks, especially that Windows itself doesn't use
symlinks that much at all, but relies heavily on hard links instead.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail:Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow


Mime
View raw message