How to remove .svn subfolders in a Subversion project
Visite: 7227
giovedì 9 aprile 2009



Framework 3.5

Subversion is a version control system used to maintain current and historical versions of file such source code or documentation. Completely open-source, is used on many open source projects of the community.

Using client tools like TortoiseSVN or VisualSVN, you can integrate Subversion with Windows Explorer or Visual Studio IDE.

But what when you don't want to use SVN for a specified folder on your pc? There isn't a "Delete SVN from this folder" command, so we need to create something, a batch file for example, to do it.

Searching through the web, you can find many solutions to delete all .svn folders and my personal is RemoveSvnFolders. This simple console application is able to delete all folders recursively present in your root SVN folder.
The executable accepts 2 parameters: the folder path and an option indicates if you want to delete recursively or not.

Example:
RemoveSvnFolder.exe "c:\mysvnfolder-root" /r

This Visual Studio project is contained into a ZofM.Utility solution I will try to update in next months.

Download Download only the executable RemoveSvnFolders.exe
Download Download source of ZofM.Utility Visual Studio Solution
(RemoveSvnFolders inside like a project)



Commenti


Grande blog! Se vi piace, tornate e la mia visita: http://albumdeestampillas.blogspot.com Grazie, Pablo dall'Argentina
Scritto da Pablo (yo) - giovedì 22 ottobre 2009 alle ore 4.54

I had to clone a ASP.NET MVC project since it had to be "skinned" according to customer's specifications. Instead of creating a new branch, I decided to "copy" the project and create a new solution. Your tool was godsend since I could remove all the .svn directories and add the new solution to SVN easily. Thank you very much for sharing this wonderful tool!!
Scritto da Indyfromoz - giovedì 12 novembre 2009 alle ore 21.11



Scrivi nuovo commento

Autore:  
E-mail:
Sito:
Ricorda le mie informazioni:
Messaggio:
Verifica codice: Password verification

 

-- Anteprima commento --


Versione italiana Versione italiana

CATEGORIE

Ajax (2)
ASP.NET (11)
C# Code (4)
IIS (1)
Silverlight (1)
Sql Server 2000 (1)
Varie (4)
Visual Studio (4)

ARCHIVIO

aprile 2009 (1)
maggio 2008 (1)
aprile 2008 (1)
gennaio 2008 (4)
dicembre 2007 (1)
maggio 2007 (1)
febbraio 2007 (1)
dicembre 2006 (3)
ottobre 2006 (1)
settembre 2006 (3)
agosto 2006 (1)
giugno 2006 (1)

CHI SONO [curriculum]

Curriculum ZofM

RINGRAZIAMENTI