[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: symlinks on Windows

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 07 Nov 2013 10:36:16 +0000

Ben Reser <ben_at_reser.org> writes:

> On 11/5/13 8:52 AM, Randy Defauw wrote:
>> Any thoughts regarding supporting symlinks on Windows? Windows has supported
>> symlinks since Vista:
>> http://msdn.microsoft.com/en-us/library/windows/desktop/aa365680(v=vs.85).aspx
>> Supporting cross-platform symlinks where possible will ease some compatibility
>> pain for cross-platform development.
> Probably the biggest issue here is that by default creating symbolic links
> requires administrator access on Windows.

Another issue is that CreateSymbolicLink also has a dwFlags parameter
that needs to be set to zero for file targets and
SYMBOLIC_LINK_FLAG_DIRECTORY for directory targets. I don't know what
happens if the flag has the "wrong" setting. Does it only affect the
delete operation? Does Subversion have to update the flag as the target
changes? Does Subversion have to store the flag as well as the target
path in the repository?

Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2013-11-07 11:37:00 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.