Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you move a file?

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 possible? If so, how do you do it?

(My current strategy has been to copy the file into the new folder and check it in and then delete the file from the current folder.)

like image 615
Guy Avatar asked Oct 05 '22 15:10

Guy


People also ask

How do you move things in files?

Highlight the files you want to move, press and hold your right mouse button, and drag-and-drop the files to where you want to move them. When you release the mouse button, a menu appears, similar to the example shown in the picture. Select the Move here option to move the files.

What are the two ways of moving a file?

Answer. Answer: A file or folder can be copied or moved to a new location by dragging and dropping with the mouse, using the copy and paste commands, or by using keyboard shortcuts.


1 Answers

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.)

tortoise move menu

You can also do the move via the Repo Browser (section 5.23. The Repository Browser of the help).

like image 138
crashmstr Avatar answered Oct 10 '22 21:10

crashmstr