Marcos Placona
Marcos Placona
Developer evangelist at Twilio, GDE and in ❤️ with Open Source
1 min read

Categories

  • Technology

I recently had to move an entire folder on SVN from a place to another. When you think “folders”, you simply imagine that would be an easy drag & drop task.

In fact, if you try to drag a folder into another, you will end up in a “missing” folder nightmare as such:

Missing Folders on SVN

This is not very good, as when you try to commit, it will most likely not let you. However,  if it lets you, it (SVN) will try to delete the folders first, and then re-create them again.

TortoiseSVN makes it easier to do though, as with a very nifty trick, you can get it to use svn move properly.

To do so, simply right click (holding it) on the folders you want to move, and drag them to wherever you want them to be moved to.

Once you release the right click button, you should be presented with a screen like this:

Moving SVN folders with tortoise SVN

This gives you various options of actions that can be performed with the selected folder, such as:

  1. Move the versioned items into the folder;
  2. Copy the versioned items into the folder;
  3. Export versioned items into the folder;

TortoiseSVN will then take care of everything for you, and when you commit, it will properly move your folders, and not give you any grief.

YOU MIGHT ALSO LIKE