subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Osipov, Michael" <michael.osi...@siemens.com>
Subject Re: Same level externals not possible
Date Tue, 07 May 2019 12:25:48 GMT


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

Mime
View raw message