You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jason Tesser <ja...@gmail.com> on 2007/06/20 12:57:59 UTC

relocate problem

I had a svn repository which I am trying to move to a new repository.  the
old url is https://domain.net/wwwroot/jirareport the new url is
https://domain.net/dotrepo/dotmarketing/jirareporter  I am getting teh
following

C:\apps\apache-tomcat-5.5.17\jirareporter1>svn switch --relocate
https://svn.dotmarketing.net/wwwroot/jirareporter
https://svn.dotmarketing.net/dotrepo/dotmarketing/jirareporter
svn: 'https://svn.dotmarketing.net/dotrepo/dotmarketing/jirareporter' is not
the root of the repository

What can I do.  On the old repo wwwroot was that root and on the new repo
dotrepo is the root.


Thanks
Jason Tesser
dotmarketing, Lead Programmer
1-305-858-1422

Re: relocate problem

Posted by Ulrich Eckhardt <ec...@satorlaser.com>.
On Wednesday 20 June 2007 14:57, Jason Tesser wrote:
> I had a svn repository which I am trying to move to a new repository.  the
> old url is https://domain.net/wwwroot/jirareport the new url is
> https://domain.net/dotrepo/dotmarketing/jirareporter  I am getting teh
> following
>
> C:\apps\apache-tomcat-5.5.17\jirareporter1>svn switch --relocate
> https://svn.dotmarketing.net/wwwroot/jirareporter
> https://svn.dotmarketing.net/dotrepo/dotmarketing/jirareporter
> svn: 'https://svn.dotmarketing.net/dotrepo/dotmarketing/jirareporter' is
> not the root of the repository
>
> What can I do.  On the old repo wwwroot was that root and on the new repo
> dotrepo is the root.

One thing up front: I think this only works if you moved the repository and 
not also reorganised it using dumpfilter or similar things, but I'm not sure.

Anyhow, the only thing that needs to be replaced is the root of the 
repository, not the path within. So all you need is to 

  svn switch --relocate <OLD_ROOT> <NEW_ROOT> .

regardless of the fact that '.' is not a working copy of the repository's 
root. For your example, simply remove the trailing 'jirareporter' from both 
URLs and it should work.

Uli

-- 
Sator Laser GmbH
Geschäftsführer: Ronald Boers, Amtsgericht Hamburg HR B62 932

**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.

**************************************************************************************

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