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

Re: Final(?) Relative Externals format

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-01-26 10:34:23 CET

John Peacock wrote:
> Julian Foad wrote:
>> Max Bowsher wrote:
>>
>>> I still feel strongly that we need a repos-root-relative externals
>>> capability.
>>>
>>> It's a rather horrible design to require hardcoding the served path of
>>> a repository into the repository, when there is no real reason to do so.
>>
>>
>> +1. Well said. If you accept that it must mean "within this
>> repository" and not allow navigating out of the repository with "..",
>> then I think the case has been made for including that facility. Now we
>> only (!) need to agree on a syntax.
>
> Not to throw water on the nice fire you are building, but this brings up a
> question:
> The client code currenty does not (at the WC level at least) know what
> portion
> of the URL is the repository root directory and what part is the
> root-relative
> path that you need to know in order to create the externals.
>
> Since this is the case, are we going to be automatically limiting the
> usage of
> such externals to people who know how the repository itself is structured?
> Wouldn't it be better to somehow expose the information (see issue #960)
> so
> that the user would have a way to discern this information?

svn_ra_get_repos_root should work just fine. Though solving 960 would also
be nice.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 26 10:37:27 2005

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.