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

RE: svn 1.7 client issues error on update of single file externals

From: Boe, Aasmund <a.boe_at_ti.com>
Date: Tue, 28 Aug 2012 06:17:46 +0000

Bump. Has anyone observed the below issue, where subversion 1.7.x client issues an error when using 'svn update' on folders containing single file svn:externals? Note that subversion does indeed update the externals, it marely issues an error.

Any response is appreciated!

Best regards,
Åsmund B. BØ

Texas Instruments Norway AS, Gaustadalléen 21, NO-0349 Oslo, Norway. Org. NO 980499480 MVA

-----Original Message-----
From: Boe, Aasmund
Sent: 24. juli 2012 08:53
To: 'users_at_subversion.apache.org'
Subject: svn 1.7 client issues error on update of single file externals

Using subversion 1.7(.5), updating a working copy that has single file svn:externals results in an error, even if the update does indeed work.
Bug, or am I doing something wrong?

Details posted on stackoverflow.com (before I was aware of this mailing list):
http://stackoverflow.com/questions/11615043/subversion-client-1-7-file-externals-update-error

And the content of the above url:
I have come across an error using svn update on a working copy folder with single file svn:externals. I wonder if there is a work-around for this, if I am doing something wrong, or if this is a bug in the client 1.7.x of subversion.

The error occurs when calling svn update using subversion 1.7.5 (tried TortoiseSvn 1.7.7 and slikSvn 1.7.5) on a folder that has single file svn:externals. I'm tempted to say it's a bug in the subversion client, because the update does indeed occur, but it says it fails.

For reference, the server side uses a very old version (1.1.4 [r13838]), but from what I know externals is a client "feature" so an old server should not be a problem. Besides, this workes well using subversion 1.6.x (client).

This is the scenario I observe:

1. Checkout a project (that has single file svn:externals)
   svn checkout http://my/repo/projects/proj1 proj1

2. Browsing to the folder in my working copy with single file svn:externals.
   E.g.
   myFile.txt http://my/repo/components/comp1/myFile.txt

3. Executing svn update and I get the following output:
   Fetching external item into 'trunk\proj1\source\myFile.txt':
   : warning: W160016: Failure opening
   '/components/comp1/myFile.txt/myFile.txt'

If change the svn:externals so that the local file has a different name, like below:
   my_file.txt http://my/repo/components/comp1/myFile.txt

Then the error message in 3. becomes as below, so the the file after the last
forward slash ('/') is the local version of the file.

   Fetching external item into 'trunk\proj1\source\myFile.txt':
   : warning: W160016: Failure opening
   '/components/comp1/myFile.txt/my_file.txt'

Best regards,
Aasmund B. Boe
Received on 2012-08-28 08:18:25 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.