Content

ramblings of a coldfusion developer

Removing .svn files with TortoiseSVN

Thursday 25 September 2008 - Filed under Code

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.

Tagged: »

2008-09-25  »  Jim Priest

Talkback x 4

  1. shag
    25 September 2008 @ 10:48 am

    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
    25 September 2008 @ 10:58 am

    thank you – great tip. STEF

  3. anshuman
    7 September 2009 @ 7:48 am

    This is a nice find. thanks!

  4. Fird
    30 December 2009 @ 9:19 pm

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

Share your thoughts

Re: Removing .svn files with TortoiseSVN







Tags you can use (optional):
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>