[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: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-08-13 03:17:01 CEST

On Thu, 2004-08-12 at 20:06, Monks, Peter wrote:
> G'day everyone,
>
> Is there a plan afoot to allow the creation of symlinks in the
> repository, but from a Windoze client?
>
> What I'm envisaging is a command something akin to "svn cp", but where
> the copy results in a symlink being written into the repository rather
> than a separately versioned copy of the file / directory in question.
> And of course once the symlink is in the repositiry, it would be
> indistinguishable from a symlink that was created via a *nix client,

In theory, you can already do this from windows (haven't tried this
yet):

> echo "link foo.txt" > linky
> svn add linky
> svn propset svn:special "*" linky
> svn commit -m "creating linky as a symlink to foo.txt"

Now, when you do an update or checkout on unix, you should get a symilnk
named 'linky' that points to foo.txt.

---------------------------------------------------------------------
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:18:01 2004

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.