Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TortoiseSVN (relocate to new repository)

Tags:

We are facing a problem in relocating our application from the old repository to a new one.

Initially we were using //10.X.X.50/svn/XXX. Now we try to shift to the new repository at //10.X.X.152:8443/svn/XXX as the server hard disk has crashed (10.X.X.50).

While we are trying to use relocate option in TortoiseSVN - it gives an error:

The repository at 'https://10.X.X.152:8443/svn/XXX' has uuid '5005c752-e8bc-6a46-9f1b-84ec39085508', but the WC has '005a1777-a2fa-4437-9a0c-b35647624529'

We are using TortoiseSVN 1.5.9, Build 15518 - 32 bit.

Currently, the new repository which is created on another server has three folders created: Branches, Tags and Trunk.

like image 226
kaushalparik27 Avatar asked Nov 05 '09 04:11

kaushalparik27


1 Answers

You should either:

  • Set the old UUID for your new repository, using svnadmin setuuid
    • svnadmin setuuid REPOS_PATH [NEW_UUID]
  • Or get a fresh checkout from the new repository.

If you go for the first option, when the new repository UUID's match the old one, just go to your working copy in Windows Explorer, right click in a blank spot and choose,

*TortoiseSVN → Relocate..., and there you will be prompted for the new repository location.

Menu

Then:

New URL

like image 103
Christian C. Salvadó Avatar answered Oct 19 '22 18:10

Christian C. Salvadó