How to remove .svn subfolders in a Subversion project |
Visits: 3267 |
Thursday, April 09, 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 only the executable RemoveSvnFolders.exe
Download source of ZofM.Utility Visual Studio Solution
(RemoveSvnFolders inside like a project)
|
Grande blog!
Se vi piace, tornate e la mia visita: http://albumdeestampillas.blogspot.com
Grazie,
Pablo dall'Argentina
|
| Written by Pablo (yo) - Thursday, October 22, 2009 at 4:54 AM |
|
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!!
|
| Written by Indyfromoz - Thursday, November 12, 2009 at 9:11 PM |
Post new comment