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

Re: Error processing externals E205011 and W155035 with simple update

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Sun, 11 Aug 2013 23:44:38 +0200

On Sun, Aug 11, 2013 at 7:27 PM, <dlellis_at_rockwellcollins.com> wrote:
> Johan Corveleyn <jcorvel_at_gmail.com> wrote on 08/11/2013 03:09:55 AM:
>> On Sun, Aug 11, 2013 at 12:56 AM, <dlellis_at_rockwellcollins.com> wrote:
...
>> > Here's the quick recipe....
>> >
>> > Create a file external in svn:externals and commit it and perform full
>> > update (foo.c rev 1).
>>
>> Please give the exact value you put into the property. There are a
>> couple of variants of the syntax, and it's not clear whether you use a
>> peg revision etc.
>
> This is what SVN reports from an svn pg svn:externals before and after the
> update
>
> http://test/pd_sandbox/plcm/swdb/Temp/1.txt@2818 1.txt
> http://test/pd_sandbox/plcm/swdb/Temp/1.txt@2827 1.txt

Okay, with this information I can reproduce the issue (both with 1.7.9
and with trunk_at_1512490):

[[[
C:\Temp\test>svnadmin create repos

C:\Temp\test>svn co file:///c:/temp/test/repos wc
Checked out revision 0.

C:\Temp\test>cd wc

C:\Temp\test\wc>echo line1 > test.txt

C:\Temp\test\wc>svn add test.txt
A test.txt

C:\Temp\test\wc>svn ci -m"r1"
Adding test.txt
Transmitting file data .
Committed revision 1.

C:\Temp\test\wc>svn up
Updating '.':
At revision 1.

C:\Temp\test\wc>svn ps svn:externals "^/test.txt_at_1 ext.txt" .
property 'svn:externals' set on '.'

C:\Temp\test\wc>svn ci -m"r2"
Sending .

Committed revision 2.

C:\Temp\test\wc>svn up
Updating '.':

Fetching external item into 'ext.txt':
A ext.txt
Updated external to revision 1.

At revision 2.

C:\Temp\test\wc>echo line2 >> test.txt

C:\Temp\test\wc>svn ci -m"r3"
Sending test.txt
Transmitting file data .
Committed revision 3.

C:\Temp\test\wc>svn up
Updating '.':

Fetching external item into 'ext.txt':
External at revision 1.

At revision 3.

C:\Temp\test\wc>svn ps svn:externals "^/test.txt_at_3 ext.txt" .
property 'svn:externals' set on '.'

C:\Temp\test\wc>svn ci -m"r4"
Sending .

Committed revision 4.

C:\Temp\test\wc>svn up --depth=empty --ignore-externals
Updating '.':
At revision 4.

C:\Temp\test\wc>svn up ext.txt
Updating 'ext.txt':
U ext.txt
Updated to revision 4.

C:\Temp\test\wc>svn up
Updating '.':

Fetching external item into 'ext.txt':
svn: warning: W155035: The specified path has an unexpected status

At revision 4.
svn: E205011: Failure occurred processing one or more externals definitions

C:\Temp\test\wc>svn st
    S ext.txt
]]]

I get it also when only using --ignore-externals (or --depth=empty),
i.e. it's not necessary to combine both options in the step before the
final update.

[[[
C:\Temp\test>svn co -r3 file:///c:/temp/test/repos wc2
A wc2\test.txt
 U wc2

Fetching external item into 'wc2\ext.txt':
A wc2\ext.txt
Checked out external at revision 1.

Checked out revision 3.

C:\Temp\test>cd wc2

C:\Temp\test\wc2>svn up --ignore-externals
Updating '.':
 U .
Updated to revision 4.

C:\Temp\test\wc2>svn up ext.txt
Updating 'ext.txt':
U ext.txt
Updated to revision 4.

C:\Temp\test\wc2>cat ext.txt
line1
line2

C:\Temp\test\wc2>svn st
    S ext.txt

C:\Temp\test\wc2>svn up
Updating '.':

Fetching external item into 'ext.txt':
svn: warning: W155035: The specified path has an unexpected status

At revision 4.
svn: E205011: Failure occurred processing one or more externals definitions
]]]

Dan, can you please file an issue for this (referencing this thread)?

The self-reproducing reproduction script would still be nice, but not
absolutely necessary ... I think it's already clear enough.

Thanks,

-- 
Johan
Received on 2013-08-11 23:45:32 CEST

This is an archived mail posted to the Subversion Users mailing list.