First of, i'm using Subversion together with TortoiseSVN 1.7.10.
Current structure: ParentFolder/CurrentFolder/myfile.txt
Wanted structure: ParentFolder/NewFolder/myfile.txt
i.e. what I want to do is to move all (one in this case) files in one directory to a new directoy.
These are the different actions i've tried;
- Simply do a
svn rename
operation on the CurrentFolder. - Create the new folder, use the
svn move
operation of myfile.txt into the new directory, thensvn delete
the CurrentFolder. - Shift right-click on the CurrentFolder and just drag it into the same place, choose
SVN Move and Rename versioned items here
entering the "NewFolder" as the name.
This is what will be shown if I choose to commit the changes using either approach 1 or 2. If I choose to "Proceed with the commit" the files will get copied (as expected) but the history will only say that a new folder has been copied from the previous one.
I haven't found another question wih the exact same problem. The following question addresses the problem of moving files in SVN to an existing folder, but I want to move it into a new folder.
What would be the correct approach for this pretty "simple" problem?