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

Reply via email to