Unsvn - a way to un-checkout an svn repository
Sometimes other developers push up .svn directories to production. This drives me nuts. Not only does it create clutter but the directory contains sensitive information about where your SVN repository is located and who the user is. Removing these directories is a pain to do manually, so why bother? The C# code below will remove all .svn directories & all the files beneath them for any given path. See the source below or just download the Windows Binary . using System; using System.IO; namespace UnSvn { class Program { static void Main(string[] args) { if (args == null || args.Length != 1) { Usage(); return; } DirectoryInfo root = new DirectoryInfo(args[0]); try { if(!Process(root)) { Console.WriteLine("Nothing to do"); } } catch (Exception ex) { Console.WriteLine(ex.Message); Console.WriteLine(ex.StackTrace); } } static void Usage() { Console.WriteLine("usage: unsvn [/path/to/direct...