Removing .svn files with TortoiseSVN

September 25, 2008 by Jim · 4 Comments 

Once in awhile I run into working copy folders from Subversion that I know longer want under version control. I want to “unversion” them.  Usually I do some kind of find and delete on all the .svn related folders but there is an easier way if you have TortoiseSVN installed.

You should be familiar with the “Export” command.  This will make a copy of the files in a new location without all those pesky .svn folders.   If you want to ‘unversion’ something but don’t want a copy – simply do an “export” and when Tortoise asks for the “folder to export to” simply select the same folder your working copy is in! Tortoise will proceed to remove all the .svn folders.

Possibly Related:

Comments

4 Responses to “Removing .svn files with TortoiseSVN”
  1. shag says:

    good tip. i had never tried exporting to its own directory before. i despise downloading a project that has the .svn files/folders. i use the export to move to a production (or like) environment.

  2. stef says:

    thank you – great tip. STEF

  3. anshuman says:

    This is a nice find. thanks!

  4. Fird says:

    Thank you for the tip! Saves me hours of mundane jobs!

Tell us what you're thinking...