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

Re: Same level externals not possible

From: Osipov, Michael <michael.osipov_at_siemens.com>
Date: Tue, 7 May 2019 14:25:48 +0200

Am 2019-05-07 um 14:20 schrieb Branko Čibej:
> On 07.05.2019 13:53, Osipov, Michael wrote:
>> Hi folks,
>>
>> consider the following layout we need to solve for our legacy build:
>>
>> .
>> |-- forms
>> |-- src
>> \-- inc
>>
>> inc shall point to forms as external. Wenn doing "svn ps" with "forms
>> inc" or "./forms inc" I receive an error.
>
> Just to clarify, you want this:
>
> $ svn propset svn:externals './forms inc' .

Correct. Expanded it is:

/di1234/trunk
|-- forms
|-- src
\-- inc

> that is, on the parent directory of 'forms'?
>
>> Of course, according to the help output [1] this is not possible. But
>> why can't I have same level externals? We currently apply the ugly
>> workaround by creating 'inc' and adding externals beneath that.
>
> The reason you can't do that is that if we allowed the syntax you're
> proposing, it will conflict with the old, pre-1.5 svn:externals format,
> where the first parameter was the external name and the second was the
> full URL.

I'd be happy if this compat-mode could be turned off via compile time
option to make the case work as expected. I don't know how much effort
that is since I don't know the Subversion codebase.

Michael
Received on 2019-05-07 14:33:56 CEST

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.