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

Re: Symlinks from Windoze?

From: Josh Pieper <jjp_at_pobox.com>
Date: 2004-08-13 03:45:21 CEST

Monks, Peter wrote:
> G'day Josh and Erik,
>
> Thanks for your reply, but I don't think that's right, at least not
> according to the following paragraph (from [1]):
>
> " When a user adds a unix symlink to version control and commits, the
> repository stores the object as a file with the "svn:special" property
> attached. When the client sees this property during checkouts and
> updates, the repository file is translated back into a symlink within
> the working copy. On win32 systems, the client does no translation, and
> the user sees just an ordinary file. (But a win32 user can hand-edit the
> contents of this file, which will still have an affect of changing the
> symlink on a unix system.)"
>
> Note in particular the comment about win32 clients - doesn't that mean
> that a win32 SVN client will "expand" a symlink in the repository into
> what looks like a copy of the file (but actually isn't)?
>
> Or have I misunderstood?

Yes, you have misunderstood. The "untranslated" file is the one whose
contents are "link foo". When the release notes say Win32 systems do
not translate, that means you get a file with those contents in your
directory. It does not translate to the contents of the linked file,
no "expansion" occurs.

Trust me, I wrote the feature. :)

-Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 13 03:45:49 2004

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