How do i delete SVN folders?

by markedgington on May 26, 2010

When deploying websites, all SVN folders should be deleted, but SVN doesn’t include any built in commands to do this.

The registry hack below can do this for you – it adds “Delete SVN Folders” to the context menu for folders. When you select it, it removes all folders named .svn inside the folder and it’s children (it does nothing if the project’s not under Subversion source control.

Just add the code to a reg file and then run it. The command should appear when you right click a SVN folder.

Shell command to remove SVN folders

{ 1 comment… read it below or add one }

Forouzani July 27, 2010 at 5:56 pm

Instead of a checkout, what you want when deploying is ‘export’ – that wont create .svn folders.

Leave a Comment

{ 1 trackback }

Previous post:

Next post: