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

RE: NTFS Junction points (symlinks) within the working copy

From: Mark Johnson <mj_at_sightworks.com>
Date: 2006-04-14 02:55:33 CEST

Hardlinks and Symbolic Links (Junctions) have been part of windows OS
since Windows 2000. Junctions can span hardrives and partitions and may
only refer to directories. Hardlinks cannot span different disks or
partitions.

I use the NTFS Link all the time, and I really think that subversion
should support Hardlinks and Junctions on windows.

-----Original Message-----
From: Adam Aulick [mailto:adam@aulick.net]
Sent: Thursday, April 13, 2006 4:04 PM
To: Nico Kadel-Garcia
Cc: users@subversion.tigris.org
Subject: Re: NTFS Junction points (symlinks) within the working copy

On Apr 13, 2006, at 5:40 PM, Nico Kadel-Garcia wrote:

> NTFS supports shortcuts, *NOT* symlinks.

This is a common misconception. Shortcuts are regular files treated
specially by Explorer.exe. NTFS supports what Microsoft calls
"Junction Points" or "Reparse Points" which can act as symlinks (on
directories) or hard links (on files). Unfortunately, practically no
windows executables can tell the difference between a symlink and a
regular directory, which leads to unfortunate behavior like Windows
Explorer recursively deleting the target directory instead of just
unlinking the junction point. And, apparently, subversion screwing
up my directory hierarchy.

There's a good windows shell extension NTFS Link <http://
www.elsdoerfer.info/ntfslink/> that causes Explorer.exe to behave
more reasonably when dealing with junction points.

> I suspect that you will never be able to get this to work the way
> you expect.

On this point you may be right.

---------------------------------------------------------------------
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 Fri Apr 14 02:55:13 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.