You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Pe...@barclayscapital.com on 2009/02/23 09:15:06 UTC

Using svn switch --relocate does not change svn.externals properties.

To reporduce:
Create a directory with an svn:externals property to somewhere else in
the same repository as a fully qualified link.  (Not a relative path)
Commit the change
Use svn switch --relocate {old address} {new address}

Now the location of the diretcory has changes but not the svn:externals
property.

*	Your operating system
Windows XP SP 3
*	The release and/or revision of Subversion
1.5.5
*	The compiler and configuration options you built Subversion with
Standard build from CollabNet
*	Any private modifications you made to your Subversion
None
*	The version of Berkeley DB you're running Subversion with, if
any
NA.
*	Anything else that could possibly be relevant. Err on the side
of too much information, rather than too little.
The previous server was 1.4.? But the checkout was for 1.5 format.

C:\>svn --version
svn, version 1.5.5 (r34862)
   compiled Dec 23 2008, 12:42:22

Copyright (C) 2000-2008 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet
(http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using
Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network
protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme



_______________________________________________

This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this e-mail is not an offer to buy or sell or a solicitation to buy or sell any securities, investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Barclays. Any views or opinions presented are solely those of the author and do not necessarily represent those of Barclays. This e-mail is subject to terms available at the following link: www.barcap.com/emaildisclaimer. By messaging with Barclays you consent to the foregoing.  Barclays Capital is the investment banking division of Barclays Bank PLC, a company registered in England (number 1026167) with its registered office at 1 Churchill Place, London, E14 5HP.  This email may relate to or be sent from other members of the Barclays Group.
_______________________________________________

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1213721


RE: Using svn switch --relocate does not change svn.externals properties.

Posted by Pe...@barclayscapital.com.
It also appears that svn switch --relocate doesn't recurse into
directories from externals.
"Svn switch" works recursively, however if you have an external
directory you have to know where they are. (There doesn't appear to be a
simple way to find them) change directory to where they are and do
another relocate for each one.
A simpler appraoch would be to have svn switch perform the operation
resursively changing any directories as they go.


> _____________________________________________ 
> From: 	Lawrey, Peter: IT (LDN)  
> Sent:	23 February 2009 09:15
> To:	'dev@subversion.tigris.org'
> Subject:	Using svn switch --relocate does not change
> svn.externals properties.
> 
> To reporduce:
> Create a directory with an svn:externals property to somewhere else in
> the same repository as a fully qualified link.  (Not a relative path)
> Commit the change
> Use svn switch --relocate {old address} {new address}
> 
> Now the location of the diretcory has changes but not the
> svn:externals property.
> 
> *	Your operating system
> Windows XP SP 3
> *	The release and/or revision of Subversion
> 1.5.5
> *	The compiler and configuration options you built Subversion with
> Standard build from CollabNet
> *	Any private modifications you made to your Subversion
> None
> *	The version of Berkeley DB you're running Subversion with, if
> any
> NA.
> *	Anything else that could possibly be relevant. Err on the side
> of too much information, rather than too little.
> The previous server was 1.4.? But the checkout was for 1.5 format.
> 
> C:\>svn --version
> svn, version 1.5.5 (r34862)
>    compiled Dec 23 2008, 12:42:22
> 
> Copyright (C) 2000-2008 CollabNet.
> Subversion is open source software, see http://subversion.tigris.org/
> This product includes software developed by CollabNet
> (http://www.Collab.Net/).
> 
> The following repository access (RA) modules are available:
> 
> * ra_neon : Module for accessing a repository via WebDAV protocol
> using Neon.
>   - handles 'http' scheme
>   - handles 'https' scheme
> * ra_svn : Module for accessing a repository using the svn network
> protocol.
>   - with Cyrus SASL authentication
>   - handles 'svn' scheme
> * ra_local : Module for accessing a repository on local disk.
>   - handles 'file' scheme
> 
> 
> 
_______________________________________________

This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this e-mail is not an offer to buy or sell or a solicitation to buy or sell any securities, investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Barclays. Any views or opinions presented are solely those of the author and do not necessarily represent those of Barclays. This e-mail is subject to terms available at the following link: www.barcap.com/emaildisclaimer. By messaging with Barclays you consent to the foregoing.  Barclays Capital is the investment banking division of Barclays Bank PLC, a company registered in England (number 1026167) with its registered office at 1 Churchill Place, London, E14 5HP.  This email may relate to or be sent from other members of the Barclays Group.
_______________________________________________

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1213765