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

svn switch does not update relative externals

From: Olivier Sannier <obones_at_free.fr>
Date: Mon, 22 Feb 2010 15:31:46 +0100

Hello all,

Let's say we have the following repository:


and an external on bin defined as the following:

../sources/report_engine/models models

so when I checkout trunk, I get a copy of
/trunk/sources/report_engine/models inside the bin/models folder.
This is very convenient to have "symbolic links" inside a repository.

Now I do this:
svn cp /trunk /branches/test

then I modify a file inside /trunk/sources/report_engine/models and
commit it.
Finally, I want to work on the branch and switch my working copy to it:

svn switch /branches/test .

While it updates my working copy to match all the changes made into the
branch, it never updates bin/models to represent the content of

I reread the svn book and it is not clear to me whether or not svn
switch is supposed to update a relative external.
To me it would be quite logical that it would, hence my surprise when I
saw the above behavior. Could it be that I missed something obvious?

Received on 2010-02-22 15:32:21 CET

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.