subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "White, David (KWI C54)" <David.Whi...@alcoa.com.au>
Subject RE: Local repository move
Date Fri, 21 Oct 2011 07:41:07 GMT
Uli,

I'm not using Apache.  I do, however, have TortoiseSVN installed.

My Repositories were originally in C:\DW and I want to move them to C:\Open\kwc54dw\DW
I have copied the repository "AHEAProps Repository" to this new location

My working files were originally in C:\Dev and I have moved them to c:\open\kwc54dw\Dev

When I try to do the switch from within TSVN:

Command: Switch C:\Open\kwc54dw\Dev\AHEAProps to file:///C:/Open/kwc54dw/DW/AHEAProps Repository,
Revision HEAD  
Error: 'file:///C:/DW/AHEAProps%20Repository'  
Error: is not the same repository as  
Error: 'file:///C:/Open/kwc54dw/DW/AHEAProps%20Repository'  
Finished!:

If I try to use the Relocate command from TSVN, I get this message:

"If seems you are trying to relocate your working copy to a different path inside the same
repository.
From: file:///C:/DW/AHEAProps Repository
To: file:///C:/open/kwc54dw/DW/AHEAProps Repository

A relocate is only needed if the path to a repository has changed. ... Improper use of relocate
will corrupt your working copy!"

Stuck now :-(  Thought I understood this, apparently not.

Thanks,

David



-----Original Message-----
From: Ulrich Eckhardt [mailto:ulrich.eckhardt@dominolaser.com] 
Sent: Friday, October 21, 2011 14:51
To: users@subversion.apache.org
Subject: Re: Local repository move

Am 21.10.2011 08:39, schrieb White, David (KWI C54):
> This may seem like a dumb question, but I cannot find out how to do
> this.

Make sure the repos are not accessed at the moment (turn off 
Apache/svnserve) and then just do a file-system move operation using 
your preferred file management utility.


> I thought I needed to use something like
>
> Svn switch -relocate "C:\Old Repository Location\Repository Name"
> "C:\New Repository Location\Repository Name"
>
> When I do this, I get the message "svn : '.' Is not a working copy"

Yes, you need to do that but on your working copies, not on the 
repositories. OTOH, if you are using any server for them, you only need 
to tell the server that they were moved. If the server still runs on the 
same machine/port then working copies don't need relocation.


Cheers!

Uli

**************************************************************************************
Domino Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at http://www.dominolaser.com
**************************************************************************************
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. Domino Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************


Mime
View raw message