Friday, January 30, 2009

Moving files in TortoiseSVN

I'm using WinXP, Subversion 1.5.5, TortoiseSVN 1.5.6.

I was having a little trouble moving some files that were under SVN control, but I was able to quickly find some help on this website: http://vidmar.net/weblog/archive/2007/12/11/subversion-and-tortoisesvn-tips-and-tricks.aspx about doing it.

Don't move files within your repository with Windows Explorer. Instead use the TortoiseSVN > Rename option from the context menu when you right-click a file. Then just use backslashes to specify the directory you want your file (or folder) moved to.

...also, you can use Windows Explorer to move SVN files if you RIGHT-click and drag, not left click. When you release the mouse button, a context menu will show up, where you can choose to "SVN Move to here". That works.