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

RE: Symlinks on Win32...

From: Duke Tantiprasut <duke_at_resolve-systems.com>
Date: 2006-01-31 18:52:04 CET

I think it would be good if SVN can natively support symlinks within its
internal repository tree and manage it itelf rather than relying on the file
system that is checked out on.

Perhaps something along the lines of:

svn link svn://source svn://dest

The idea is rather than creating a copy (i.e. branch), it would allow
changes to files in that directory to flow through and not branch.
Bidirectional would be good, but even just unidirectional link svn:externals
would be a good start. Editing svn:externals is troublesome, it's not easy
to just add and remove directory members, especially when you need to
automate.

Duke

> -----Original Message-----
> From: Phillip Susi [mailto:psusi@cfl.rr.com]
> Sent: Tuesday, January 31, 2006 7:08 AM
> To: EAliberti@tecnest.it
> Cc: users@subversion.tigris.org
> Subject: Re: Symlinks on Win32...
>
> /wave at ea ( former ReactOS dev )
>
> As someone else said, NT only allows links to directories,
> not files ( AFAIK ), and there is still a bug that causes
> subversion to see linked directories as collided. This may
> only apply if you locally link them though, not if they are
> links in the repository. See:
>
> http://subversion.tigris.org/issues/show_bug.cgi?id=2284
>
> It might be worth investigating further, but I also have the
> feeling that a lot of windows software will break when
> encountering junctions.
>
> ALIBERTI Emanuele wrote:
> > This is incorrect. It depends on the file system type. NTFS
> supports
> > hard and soft links (real soft links, not serialized
> Explorer objects
> > stored in *.lnk files).
> >
> >
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/filei
> > o/fs/hard_links_and_junctions.asp
> >
> >
> > Recent revisions of the Win32/64 APIs even include system
> calls that
> > create them.
> >
> > Hard links:
> >
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/filei
> > o/fs/createhardlink.asp
> >
> >
> > Symbolic links:
> >
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/filei
> > o/fs/createsymboliclink.asp
> >
> >
> > But even today you can create them. See
> >
> > http://www.sysinternals.com/utilities/junction.html
> >
> > ea
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 31 18:53:26 2006

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.