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

RE: Local repository move

From: White, David (KWI C54) <David.White2_at_alcoa.com.au>
Date: Fri, 21 Oct 2011 15:41:07 +0800

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_at_dominolaser.com]
Sent: Friday, October 21, 2011 14:51
To: users_at_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.
**************************************************************************************
Received on 2011-10-21 09:43:22 CEST

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.