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

RE: Symlinks show up as "blocked" in Windows

From: Jim Garrison <Jim.Garrison_at_troux.com>
Date: Mon, 3 Aug 2009 09:58:15 -0500

[sorry for top-posting, Outlook is crap]

The links occur in a 3rd-party package (Java for Solaris and Linux) which is checked in to the repository, and over which I have no control. Yes, I know we should structure things so that Linux and Solaris Java don't get checked out on Windows but I inherited this mess and can't change that just now.

From: David Weintraub [mailto:qazwart_at_gmail.com]
Sent: Monday, August 03, 2009 9:54 AM
To: Jim Garrison
Subject: Re: Symlinks show up as "blocked" in Windows
Windows does not handle symbolic links very well. In fact, it is impossible to even make symbolic links with the standard Windows tools.

Pretty much, my policy is to avoid symbolic links (and especially hard links) in my source repository since they tend to muck things up, even in a pure Unix/Linux environment.

The question is why you are using symbolic links in your source repository. If this is to allow files shared between projects, you are probably better off with svn:external. If this is something that is needed to run the program, you might consider using your build system to either duplicate or create the symbolic links at build time.

On Fri, Jul 31, 2009 at 6:36 PM, Jim Garrison <Jim.Garrison_at_troux.com<mailto:Jim.Garrison_at_troux.com>> wrote:
version 1.6.3 (r38063)


1) A repository containing files checked in from Linux, some of which are symbolic links.
2) The repository is checked out on a Windows system
3) On Windows the links show up as "shortcut" objects (not a problem). However,

4) svn status lists all the symlinks as "blocked" (status character '~') and TortoiseSVN shows them as having local modifications.

Is this working as expected?

David Weintraub
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-03 16:59:23 CEST

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.