If your repository has for some reason changed it's location (IP/URL). Maybe you're even stuck and can't commit and you don't want to checkout your working copy again from the new location and to move all your changed data back into the new working copy,
→ is the command you are looking for. It basically does very little: it rewrites all URLs that are associated with each file and folder with the new URL.Note | |
---|---|
This operation only works on working copy roots. So the context menu entry is only shown for working copy roots. |
You may be surprised to find that TortoiseSVN contacts the repository as part of this operation. All it is doing is performing some simple checks to make sure that the new URL really does refer to the same repository as the existing working copy.
Warning | |
---|---|
This is a very infrequently used operation. The relocate command is only used if the URL of the repository root has changed. Possible reasons are:
Put another way, you need to relocate when your working copy is referring to the same location in the same repository, but the repository itself has moved. It does not apply if:
If you use relocate in either of the cases above, it will corrupt your working copy and you will get many unexplainable error messages while updating, committing, etc. Once that has happened, the only fix is a fresh checkout. |