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

RE: Changing external to sub-directory yields W155007 and E205011

From: Bert Huijben <bert_at_qqmail.nl>
Date: Wed, 8 Apr 2015 17:47:28 +0200

You are adding a directory ‘ext’, which makes it a versioned path *inside* the repository/working copy and then in the parent directory you set a property that it is something *external*.

 

A path can’t be versioned as part of the working copy and be an external at the same time.

 

Once a path is versioned, you can’t shadow it with an external.

(Technically externals aren’t in your working copy… they are a higher level abstraction and a working copy by itself)

 

 

As far as I can tell this works as expected.

 

                Bert

 

From: Christian K. [mailto:christian.k.2510_at_gmail.com]
Sent: woensdag 8 april 2015 17:13
To: users_at_subversion.apache.org
Subject: Changing external to sub-directory yields W155007 and E205011

 

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 <file:///\\%CD%25\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:48:07 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.