Re: Change repository location

50 views
Skip to first unread message

Stefan Hett

unread,
Jun 6, 2016, 11:10:02 AM6/6/16
to us...@tortoisesvn.tigris.org
Hi Geneviève,
> Hi,
> My repository has to be somewhere else.
> Currently on "file:///G:/007/Tortoise/trunk"
> and it would need to be on "file:///R:/91253/Tortoise/trunk"
>
> I have search on the FAQ and in the help file but didn't find anything on that.
>
> Thanks for your help

Just copy the whole repository (aka: the whole directory) over to the
other directory/drive and the use TortoiseSVN -> Relocate... to point
your working copy/copies over to the new location.

--
Regards,
Stefan Hett

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3174428

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Philip Goetz

unread,
Nov 14, 2024, 5:00:56 AM11/14/24
to TortoiseSVN
I've read the manual on relocating the repository, but there is no Relocate option for the repository.  The Relocate option appears only for the root folder that is IN the repository, not for the repository itself.

My repository  was in G:\db\tortoisesvn\code.  The actual code being backed up was in, and still is in, E:\Phil\code.
I moved the repository to E:\db\tortoisesvn\code, but now SVN can't find it, & can't do anything; and nothing in the settings lets me point it at the new repository location.
The only time I get the 'Relocate' option is when I right-click on E:\Phil\code, which is not the repository, but the source.
I want to move the repository.  Is there no way to do that?

Daniel Sahlberg

unread,
Nov 14, 2024, 5:09:52 AM11/14/24
to TortoiseSVN
torsdag 14 november 2024 kl. 11:00:56 UTC+1 skrev phil...@gmail.com:
I've read the manual on relocating the repository, but there is no Relocate option for the repository.  The Relocate option appears only for the root folder that is IN the repository, not for the repository itself.

As Stefan Hett already wrote, you don't need to "relocate" the repository in itself, you just move it using whatever tools are available on your OS.

The "relocate" command is used within a "working copy" to change the "link" between the working copy.

It seems you have successfully moved the repository to E:\db\tortoisesvn\code, now you should "relocate" in e:\phil\code from file:///g:/db/tortoisesvn/code to file:///e:/db/tortoisesvn/code

Hope that helps!

Daniel

PS: Remember that in Subversion, the "repository" is the folder containing subfolders conf, db hooks, locks etc. while the folder containing the checkedout source code is a "working copy". Git only use the word "repository", so if you are used to Git it might be easy to mix up the terms.

Philip Goetz

unread,
Nov 26, 2024, 12:45:19 PM11/26/24
to TortoiseSVN
Thank you; yes, that worked!

--
You received this message because you are subscribed to the Google Groups "TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tortoisesvn...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/tortoisesvn/b901fe72-1136-4a84-9df8-4504012daebfn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages