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

Error with file externals

From: Stefan Podskubka <s.podskubka_at_hcs.at>
Date: Mon, 07 May 2012 15:51:47 +0200

Hello list,

I encountered an error which I don't know how to resolve.
It looks like a bug to me but I am not sure if I am missing something.

I searched the archive and found this recent report which is somewhat
similar to my current problem, but there was no solution:
http://svn.haxx.se/tsvnusers/archive-2012-03/0042.shtml

Here's my setup:
The client is on Windows 7 using the latest svn 1.7.4.
The server is rather outdated with svn 1.4.3 on CentOS 4.3, but as I
understand it, externals are a pure client-side feature.
I have an existing repository containing a file external (relative path
to the same repository).
The initial checkout of the working copy is working fine.
Trying to update the working copy afterwards yields the error you find
below.
Like the other user reporting the problem, everything seems to work
fine, despite the error message...

Please tell me if I am making an obvious mistake.
Otherwise how can I help to diagnose this problem further?
I tried coming up with a simple repro-script but there it worked, of
course...

Thank you and best regards
Stefan

Here's the log of what's happening:

C:\SVN> svn co
http://192.168.0.22/svn/repos/build-scripts_msbuild_csharp_tools/Trunk wc
A wc\a
A wc\bunch
A wc\of
A wc\files
  U wc

Fetching external item into 'wc\LatestVersion.txt':
A wc\LatestVersion.txt
Checked out external at revision 6.

Checked out revision 6.

C:\SVN> svn propget svn:externals wc
../Tags/LatestVersion.txt LatestVersion.txt

C:\SVN> svn up wc
Updating 'wc':

Fetching external item into 'wc\LatestVersion.txt':
svn: warning: W160016: Failure opening
'/Tags/LatestVersion.txt/LatestVersion.txt'

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

C:\SVN> svn propset svn:externals "../Tags/LatestVersion.txt foo.txt" wc
property 'svn:externals' set on 'wc'

C:\SVN> svn up wc
Updating 'wc':

Fetching external item into 'wc\foo.txt':
A wc\foo.txt
Updated external to revision 6.

Removed external 'wc\LatestVersion.txt'
Updated to revision 6.

C:\SVN> svn up wc
Updating 'wc':

Fetching external item into 'wc\foo.txt':
svn: warning: W160016: Failure opening '/Tags/LatestVersion.txt/foo.txt'

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

C:\SVN> del wc\foo.txt

C:\SVN> dir /b wc\foo.*
File not found

C:\SVN> svn up wc
Updating 'wc':

Fetching external item into 'wc\foo.txt':
svn: warning: W160016: Failure opening '/Tags/LatestVersion.txt/foo.txt'

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

C:\SVN> dir /b wc\foo.*
foo.txt

C:\SVN> svn info wc
Path: wc
Working Copy Root Path: C:\SVN\wc
URL: http://192.168.0.22/svn/repos/build-scripts_msbuild_csharp_tools/Trunk
Repository Root:
http://192.168.0.22/svn/repos/build-scripts_msbuild_csharp_tools
Repository UUID: 432010bc-1fb0-0410-b773-b1dec32ce2af
Revision: 6
Node Kind: directory
Schedule: normal
Last Changed Author: spodskubka
Last Changed Rev: 6
Last Changed Date: 2012-05-07 14:52:55 +0200 (Mo, 07 Mai 2012)

C:\SVN> svn info wc/foo.txt
Path: wc\foo.txt
Name: foo.txt
Working Copy Root Path: C:\SVN\wc
URL:
http://192.168.0.22/svn/repos/build-scripts_msbuild_csharp_tools/Tags/LatestVersion.txt
Repository Root:
http://192.168.0.22/svn/repos/build-scripts_msbuild_csharp_tools
Repository UUID: 432010bc-1fb0-0410-b773-b1dec32ce2af
Revision: 6
Node Kind: file
Schedule: normal
Last Changed Author: spodskubka
Last Changed Rev: 3
Last Changed Date: 2012-05-07 13:37:14 +0200 (Mo, 07 Mai 2012)
Text Last Updated: 2012-05-07 15:17:53 +0200 (Mo, 07 Mai 2012)
Checksum: 4491f8b5ecc09d9de308ea37e6a23ad2dd66c256
Received on 2012-05-07 15:52:24 CEST

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