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

RE: Tree-internal real links

From: Krebs, Steven <steven.krebs_at_intel.com>
Date: 2004-10-26 02:51:00 CEST

Yes Brooke, I see the problem now with the external directories checking
out the HEAD revision when I switch to an older revision. I agree that
this is a problem and the svn:depends property sounds like a possible
solution.
 
Steve
 
________________________________

From: Brooke Smith [mailto:novorivus@optusnet.com.au]
Sent: Sunday, October 24, 2004 5:17 AM
To: Krebs, Steven
Cc: Andrew Arnott; SVN-Users
Subject: Re: Tree-internal real links

Hi Steven,

That looks like quite a neat solution. I discussed the same issue as
Andrew did on the list a month or two ago with Ben Collins-Sussman, and
through this I decided to attempt to use a DEPENDS property (my name).
What is listed in this property are the sibling repository items to be
exported or checked-out. I'd have to write my own 'svn' wrapper to
"intercept" the calls and handle the DEPENDS properties. I haven't
implemented this yet since I'm still in the planning stage of a large
project we are working on.

Your solution is a possible way around doing this and I'll look into it.
A disadvantage with your solution is that you need to create and
maintain two repository directories for each project with one being
something you don't necessarily want to see and which could get in the
way.

A bigger problem, and one that exists in general with externals, is that
they can only refer to one static location. So even if you create some
version/tag/copy of the project, it will only ever refer to the trunk
version of the tools etc..., unless you could use relative externals
(../../tools). (However you can't -
http://svnbook.red-bean.com/svnbook-1.0/ch07s03.html:

It can be set on any versioned directory, and its value is a multi-line
table of subdirectories (relative to the versioned directory on which
the property is set) and fully qualified, absolute Subversion repository
URLs.).

Perhaps the DEPENDS property is worth thinking about. I can customise my
repository using it where it can be relative to the current location, or
relative from "the base" (trunk/ or tags/vX.Y.Z/), or thru some other
fashion appropriate for my config. I could also specify a specific
version (in tags) or use a keyword like 'LATEST' to mean the latest
version.

I, and the others concerned, will need to give this more though.

Regards,

Brooke
 
Received on Tue Oct 26 02:51:28 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.