You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by ma...@externe.bnpparibas.com on 2008/02/28 07:42:28 UTC

relocate when updating server and svnparentpath

Hello everybody,

I come back with my problem of updating svn server: Subversion server is 
change of localisation, but furthermore, we are updating template: for the 
moment, we have a svnpath configuration, and updating to a svnpparentpath 
configuration.

Configuration is ok, but when I'm trying to relocate workings copies, I 
have the following error:
svn switch --relocate svn://myserver/my_repos/trunk 
http://myNEWserver/svn/my_repos/trunk .

svn client return me the 403 following error:
"svn: PROPFIND de '/svn': 403 Forbidden (http://myNEWserver)"

This is not a acces rights problem : an svn list with the same account 
give me an output.

The new Apache instance which host the new repositories is dedicated only 
for the subversion purpose.
Is their a way to do that and relocate works? update location? make some 
redirect rules?

here's parts of my httpd.conf
....
LoadModule auth_module modules/mod_auth.so
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module  "C:\Program Files\svn\bin\mod_dav_svn.so"
LoadModule authz_svn_module   "C:\Program Files\svn\bin\mod_authz_svn.so"
....
Include "conf/svn.conf"


 my apache svn configuration svn.conf file:

<Location /svn>
  DAV svn
  SVNParentPath c:\temp
 
 # our access control policy
  AuthzSVNAccessFile "c:\temp\perms.txt"

  # only authenticated users may access the repository
  Require valid-user

  # how to authenticate a user
  AuthType Basic
  AuthName "Subversion repository"
  AuthUserFile "c:\temp\svn-auth-file.txt"
 
</Location>
CustomLog "c:\temp\svn.log" "%t %u %{SVN-ACTION}e" env=SVN-ACTION

Thanks for your feedback.
Best regards,

Matthieu




This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 
Do not print this message unless it is necessary,
consider the environment.

                ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.
N'imprimez ce message que si necessaire,
pensez a l'environnement.

Re: relocate when updating server and svnparentpath

Posted by Lieven Govaerts <sv...@mobsol.be>.
matthieu.mary@externe.bnpparibas.com wrote:
> 
> Hello everybody,
> 
> I come back with my problem of updating svn server: Subversion server is 
> change of localisation, but furthermore, we are updating template: for 
> the moment, we have a svnpath configuration, and updating to a 
> svnpparentpath configuration.
> 
> Configuration is ok, but when I'm trying to relocate workings copies, I 
> have the following error:
> svn switch --relocate svn://myserver/my_repos/trunk 
> http://myNEWserver/svn/my_repos/trunk .
> 
> svn client return me the 403 following error:
> "svn: PROPFIND de '/svn': 403 Forbidden (http://myNEWserver)"
> 
> This is not a acces rights problem : an svn list with the same account 
> give me an output.

What version of svn are you using?

This is a bit of a wild guess, but can you try to use the repository 
root in the from and to parameters instead of the trunk url?

$ svn switch --relocate svn://myserver/my_repos 
http://myNEWserver/svn/my_repos .

hth,

Lieven

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org