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

Changing external to sub-directory yields W155007 and E205011

From: Christian K. <christian.k.2510_at_gmail.com>
Date: Wed, 8 Apr 2015 17:13:14 +0200

Dear all,

using svn 1.8.11 changing an existing svn:externals property to a
sub-directory thereof will result in an "... is not a working copy root"
(combination of W200000, W155007 and E205011). The attached sequence of
commands [1] will reproduce the behavior from scratch (Windows batch
syntax).

The final svn update will result in the attached output [2].

Is this regular behavior of svn or is this a bug related to the processing
of svn:externals?

I would expect that changing the value of svn:externals from something
valid to something else valid should be handled by svn.

Thanks and best regards,

Christian

[1]
svnadmin create repo
svn co file:///%CD%/repo wc

mkdir wc\foo
mkdir wc\ext
mkdir wc\ext\subdir

svn add wc\foo
svn add wc\ext
svn ci -m "" wc

svn ps svn:externals "^/ext ext" wc\foo
svn ci -m "" wc
svn up wc

svn ps svn:externals "^/ext/subdir ext/subdir" wc\foo
svn ci -m "" wc
svn up wc

[2]
Updating 'wc':

Fetching external item into 'wc\foo\ext\subdir':
External at revision 3.

svn: warning: W200000: Error handling externals definition for
'wc\foo\ext\subdir':
svn: warning: W155007: 'C:\Temp\wc\foo\ext\subdir' is not a working copy
root
Removed external 'wc\foo\ext'
Updated to revision 3.
svn: E205011: Failure occurred processing one or more externals definitions
Received on 2015-04-08 17:14:35 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.