5

I want to change the location of working folder. How to make the changes in my SVN repository? I am using TortoiseSVN client.

RKh
  • 13,818
  • 46
  • 152
  • 265

3 Answers3

4

If you want to move your entire working copy, just move it in the file system.

If you want to move a folder within the working copy and later commit the move, right click on the folder, pick TortoiseSVN->Rename.

Change YourFolder to something like ..\..\NewFolder\AnotherFolder\YourFolder. Note that ..\..\NewFolder\AnotherFolder\ must exist before the operation.

Another way to move files and folders from TortoiseSVN is to use the Repository browser. There you can easily drag'n drop them to new locations. The files are moved in the remote svn repository. You need to update your working copy to get the movements locally.

Albin Sunnanbo
  • 46,430
  • 8
  • 69
  • 108
  • 1
    TortoiseSVN also allows move using right-click drag & drop within a working copy. – Antonio Pérez Nov 04 '11 at 10:16
  • I ran into a problem with this. I had my project in my local IIS. IIS went corrupt on me so I needed to move the project out so I could use the default web server in Visual Studio. Now, SVN shows changes in both my new location, and the uncommitted changes I had in IIS. I have changed all references to local host I can find in the project and they wont go away. – JRodd Aug 23 '17 at 19:50
2

You can just copy your working folder outside of Tortoise-svn (with standard copy operation). After that Tortoise will work with your new location.

tangens
  • 39,095
  • 19
  • 120
  • 139
1

You can really clean up a lot in your working copy by using the right drag functionality in your explorer. Check the link below for some features you most likely never knew about:

http://tortoisesvn.net/mostforgottenfeature.html

Jens
  • 3,249
  • 2
  • 25
  • 42