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

svn 1.7 - switching from file to directory external

From: Sofie De Cooman <svn_at_sofiedc.be>
Date: Mon, 28 May 2012 13:48:24 +0200

Hi,

After upgrading my svn client from 1.6 to 1.7 I encountered the following:

Suppose an svn repository has the following layout

a/b
b/test.txt

(top directories a and b, a has a subdirectory b, top directory b
contains a file test.txt)

Now try the following steps:

1. checkout directory a recursively and locally apply an svn:externals
property on it:
/b/test.txt b/test.txt

perform an svn update on a => test.txt gets loaded in versioned subdirectory b

2. now locally exclude subdirectory b from update (svn update b
--set-depth=exclude), which removes versioned subdirectory b from the
local working copy
3. change the local svn:externals property set on a to become a
directory external:
/b b
4. perform an svn update on a
   => the directory external gets loaded, but you also get the
following error (which didn't occur in svn 1.6)

Removed external 'b\test.txt': The node '<local path>\a\b\test.txt' is
not an external.
svn: warning: W200000: Error handling externals definition for 'b\test.txt':
svn: warning: W155010: The node <local path>\a\b\test.txt' is not an external.
Updated to revision 16.
svn: E205011: Failure occurred processing one or more externals definitions

---> Seems as if svn also still tries to remove the file external,
which fails as subdirectory b now comes from the directory external

-> This error remains during further updates of a

Can this be considered a bug or is this intended behavior?

Thanks,
Sofie
Received on 2012-05-28 14:19:36 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.