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