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

Re: NTFS and symlinks

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-10-15 21:41:33 CEST

Alexander Korsukov <sashko_passenger@mail.ru> writes:

> Under NFTS exist the 'reparse point' file attribute. Using this attribute it
> is possible to implement analogue of symlinks on the directory (for example
> JUNCTION utility http://www.sysinternals.com/ntw2k/source/misc.shtml#junction).
> In projects it is required to have an opportunity to create symlinks on
> directories more often. Why under Windows (NTFS) to not implement creation of
> symlinks (reparse points) on directory by SVN?

I used google to find

http://search.cpan.org/src/AUTRIJUS/Win32-Symlink-0.03/pgsymlink.c

which includes code to create a reparse point, it's not trivial!

Documentation apears to be thin on the ground, but as far as I can
tell these reparse points only support absolute paths and I imagine
most repository symlinks will be relative paths. I suppose relative
symlinks could be converted into absolute paths when creating a
reparse point, but I don't know how well that would work.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 15 21:52:34 2004

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

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