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

Switch and svn:externals

From: Lachlan O'Dea <odela01_at_ca.com>
Date: 2004-07-21 02:43:29 CEST

I'm having some difficulty when using svn switch on directories with an
svn:externals property. Client is 1.0.4, server 1.0.1. Is there a
preferred method of doing this?

I want to switch to another directory that has different svn:externals.
This does change the property, but it does not seem to correctly switch
the directories that were already checked out via the previous

I can switch each external directory individually, but this tends to
cause problems when trying to do things like svn update from the top,
since the externals property is out of sync with what's checked out.
Messages like "svn: Working copy 'blah' not locked". It can also be
somewhat laborious to switch each one.

I think the preferred option for a switch would be for svn to detect if
the new svn:externals has any references to the same directories as the
original, but with different URLs. If so, it should switch these
directories automatically. There are also tricky cases where say the
directory you switch to removes an externals entry but contains a
directory with the same name.

Lachlan O'Dea
Computer Associates
Senior Software Engineer
tel: +61 3 8416 5627
fax: +61 3 8416 5810
mobile: +61 412 390 650
Relax and enjoy your shoes!

Received on Wed Jul 21 02:43:31 2004

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.