[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: <dlellis_at_rockwellcollins.com>
Date: Sat, 10 Aug 2013 15:56:42 -0700

Hi Johan,

I'll try and use the reproduction template, but will need to work this on
Monday as it appears I'll need to work the template a bit to work with
http://.

Here's the quick recipe....

Create a file external in svn:externals and commit it and perform full
update (foo.c rev 1).
Create a new revision of the file and commit (foo.c rev 2)
Edit the svn:externals to point to latest revision (foo.c rev 2)

Now here's the magic to reproduce the issue:
;:
Only perform an "svn update . -depth empty --ignore-externals" // this
should bring in the new svn:externals property with foo.c rev 2
Only update the file as "svn update foo.c"

This should now show the file as being switched with an "svn status -v
foo.c":

Performing a full "svn update" will cause the errors and seem to put the
WC into a bad state.

A full output of the command prompt is in the listing below.

I appreciate the help!

Dan

From: Johan Corveleyn <jcorvel_at_gmail.com>
To: dlellis_at_rockwellcollins.com
Cc: "users_at_subversion.apache.org" <users_at_subversion.apache.org>
Date: 08/10/2013 03:40 PM
Subject: Re: Error processing externals E205011 and W155035 with
simple update

Like I replied to your other post: please give us some more concrete
information about this "known slowness of svn update"?

That said, if you can corrupt your working copy by using a series of
regular svn commands, that's clearly a bug.

Would it be possible for you to write down a reproduction recipe
starting from a clean repository? Or even better: a reproduction
script, for example starting from this template:

  http://subversion.apache.org/docs/community-guide/repro-template.bat

That would help a lot in understanding and reproducing the issue.

-- 
Johan
On Sat, Aug 10, 2013 at 3:58 AM,  <dlellis_at_rockwellcollins.com> wrote:
> Hello everyone,
>
> I have confirmed that this behavior also exists in SVN 1.7.5 on Win7.  I
> appreciate any thoughts any one might have.
>
> Thanks,
> Dan
>
>
>
>
> From:        dlellis_at_rockwellcollins.com
> To:        users_at_subversion.apache.org
> Date:        08/09/2013 03:55 PM
> Subject:        Error processing externals E205011 and W155035 with 
simple
> update
> ________________________________
>
>
>
> Hello,
>
> I am running SVN 1.8.1 under Win7.   We have an extensive collection of 
file
> externals that we use to manage shared code between projects (hundreds 
of
> files per working directory).
>
> As known, the performance when performing an SVN Update is slow.  To 
work
> around this, we're attempting to only update externals that are out of 
date
> (by comparing the local revisions of each file to what is in the
> svn:externals.  As we iterate across the files, if we see an external 
out of
> date, we execute an svn update <file>.
>
> Doing this, I'm starting to get corrupted externals....  I can reproduce
> this using the following the steps listed below.  Even if I am 
performing
> operations out of order with what is expected, I'd expect that I'd be 
unable
> to harm or corrupt the working directory....
>
>
> I basically create a clean checkout of a repository.
> Verify everything is cool, but realize one file external needs a new
> revision.
> I edit the property (using TSVN) and commit the property.
> I then update the working directory ignoring externals and only for the
> immediate directory (because external updates are slow).
> I then update the file I know is out of date (because I just edited the
> svn;externals).
> Ouch, I get an error and it reports that the file has been switched.
> The only way I can repair this is to delete the checkout and recreate 
it.
>
> I believe this also occurs under 1.7, but will have to confirm later.
>
> Can any confirm first that this is indeed an issue, and second how to
> resolve this?
>
> Thanks!
> Dan
>
>
> c:\Project_files\Test>svn status -v --depth immediates
>
>               2850     2850 dlellis      .
>
>     X         2818     2818 dlellis      1.txt
>
>     X         2633     2633 dlellis      6.txt
>
>     X         2626     2626 dlellis      7.txt
>
>               2850     2847 dlellis      CLP
>
>               2850     2783 dlellis      SM
>
>     X         2812     2812 dlellis      checkintest.txt
>
>     X         2814     2814 dlellis      commit.vbs
>
>     X         2728     2728 dlellis      project.conf
>
> c:\Project_files\Test>svn pg svn:externals
>
> http://test/pd_sandbox/plcm/swdb/M4000/project.conf@2728 project.conf
>
> http://test/pd_sandbox/plcm/swdb/Temp/6.txt@2633 6.txt
>
> http://test/pd_sandbox/plcm/swdb/Temp/7.txt@2626 7.txt
>
> http://test/pd_sandbox/plcm/swdb/Temp/1.txt@2818 1.txt
>
> http://test/pd_sandbox/plcm/swdb/Temp/commit.vbs@2814 commit.vbs
>
> http://test/pd_sandbox/plcm/swdb/Temp/checkintest.txt@2812 
checkintest.txt
>
> ***** (Modify external here via TSVN) 1.txt from revision 2818 to 2827.
>
> c:\Project_files\Test>svn pg svn:externals
>
> http://test/pd_sandbox/plcm/swdb/M4000/project.conf@2728 project.conf
>
> http://test/pd_sandbox/plcm/swdb/Temp/6.txt@2633 6.txt
>
> http://test/pd_sandbox/plcm/swdb/Temp/7.txt@2626 7.txt
>
> http://test/pd_sandbox/plcm/swdb/Temp/1.txt@2827 1.txt
>
> http://test/pd_sandbox/plcm/swdb/Temp/commit.vbs@2814 commit.vbs
>
> http://test/pd_sandbox/plcm/swdb/Temp/checkintest.txt@2812 
checkintest.txt
>
> c:\Project_files\Test>svn commit . --depth empty -m "checkin test"
>
> Sending        .
>
> Committed revision 2851.
>
> c:\Project_files\Test>svn update --depth empty --ignore-externals
>
> Updating '.':
>
> At revision 2851.
>
> c:\Project_files\Test>svn update 1.txt
>
> Updating '1.txt':
>
> U    1.txt
>
> Updated to revision 2851.
>
> c:\Project_files\Test>svn update
>
> Fetching external item into '1.txt':
>
> ***svn: warning: W155035: The specified path has an unexpected status
>
> At revision 2851.
>
> *** svn: E205011: Failure occurred processing one or more externals
> definitions
>
> c:\Project_files\Test>svn status -v --depth immediates
>
>               2851     2851 dlellis      .
>
> ***    S         2851     2827 dlellis      1.txt
>
>     X         2633     2633 dlellis      6.txt
>
>     X         2626     2626 dlellis      7.txt
>
>               2851     2847 dlellis      CLP
>
>               2851     2783 dlellis      SM
>
>     X         2812     2812 dlellis      checkintest.txt
>
>     X         2814     2814 dlellis      commit.vbs
>
>     X         2728     2728 dlellis      project.conf
>
Received on 2013-08-11 02:43:53 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.