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

Re: Howto make svn _follow_ symbolic links?

From: Andreas Pakulat <apaku_at_gmx.de>
Date: 2006-07-04 23:55:04 CEST

On 04.07.06 22:35:20, Dirk wrote:
> Marc Haisenko wrote:
> > No, it doesn't propose that, which is why you should read it ;-)
>
> Ok, I did read it now. I have a directory in every project that
> containes the same code. Let's call that directory misc...

Well, if you really read the section, then you didn't fully understand
it.

> So I did
>
> cd misc (in one project)
> svn editprop (it launches an editor where i enter...)
> >misc /bla/test/misc

This is wrong. You have to edit the svn:externals property on the
project folder, not the one that you want to have replaces by the
external URL. Also I hope /bla/test/misc is a svn URL.

> So I guess it will now add, commit and update from/to /bla/test/misc
> instead of ./misc????

No, No and yes. svn:externals only does automatic updates, you have to
go to <project>/misc and do a commit in there to checkin any changes
done in misc. After that you have to do an update on all projects that
use the same external.

> Can I delete that ./misc now to make things even
> more complicated or what?

You should first move the misc directory out of all projects into a
separate svn folder. Then you can edit the property on the project
folder and on the next update you'll get the misc folder back.

> To me this seems like a fix for OS' that don't support symbolic links
> because an option that would force svn to follow symbolic links would be
> less a pain to use...

First: This is a subversion mailinglist, this is not a public forum to
discuss the pros and cons of any operating system.

Second: Subversion was built with cross-platform support in mind, so it
has to use the smalles common denominator.

Third: If you don't like Subversion, don't use, but please don't start
such flames. Nobody here is interested in that.

Andreas

-- 
Try to value useful qualities in one who loves you.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 4 23:56:27 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.