user1770589
user1770589

Reputation: 375

How to move a svn folder from one location to another

I have a folder 'Folder3' inside another folder called 'Folder2'. Now i want to switch 'Folder3' to the parallel location of 'Folder2'.

Example:

Current:../Folder1/Folder2/Folder3 
Desired:../Folder1/Folder3

I want to move Folder3 to Desired path as mentioned above with the commit history.

Upvotes: 1

Views: 59

Answers (1)

prodigitalson
prodigitalson

Reputation: 60413

You don't want to use svn switch. That updates the project to use a different URL. You use switch to move between branches (similar to a checkout). What you want to do is actually move files around and then commit your changes, since you are changing file locations. For that you want to use svn move and then commit your changes.

Upvotes: 1

Related Questions