I\'m using TortoiseSVN against the SourceForge SVN repository. I\'d like to move a file from one folder to another in order to maintain its revision history. Is this possibl
May also be called, "rename" by tortoise, but svn move, is the command in the barebones svn client.
With TortoiseSVN I just move the file on disk.
When I come to commit my changes I select the missing file and the new one and select "Repair move" from the right click menu:
This means I can let my IDE move round files and use it refactoring tools without losing history.
Transferring a file using TortoiseSVN:
Step:1 Please Select the files which you want to move, Right-click and drag the files to the folder which you to move them to, A window will popup after follow the below instruction
Step 2: After you click the above the commit the file as below mention
For TortoiseSVN client:
Now you are done.
Subversion has native support for moving files.
svn move SOURCE DESTINATION
See the online help (svn help move) for more information.
Check out section 5.14.2. Moving files and folders (or check out "move" in the Index of the help) of the TortoiseSVN help. You do a move via right-dragging. It also mentions that you need to commit from the parent folder to make it "one" revision. This works for doing the change in a working copy.
(Note that the SVN items in the following image will only show up if the destination folder has already been added to the repository.)
You can also do the move via the Repo Browser (section 5.23. The Repository Browser of the help).