SVN® Cleaner
This tool adds three options to the Windows Explorer Context Menu:
- Remove All .svn
- Remove All But Root .svn
- Remove Local Repo Files
Examples of Each
The Following Directory structure will be used in all examples below. Strike out lines represents deleted directories and/or files.
- SVN Cleaner (dir)
- .svn (dir)
- obj (dir not in repos)
- Debug (dir with files)
- Release (dir with files)
- Properties (dir)
- .svn (dir)
- AssemblyInfo.cs (file) (I have no idea what that question mark is there)
- Settings.Designer.cs (file)
- Settings (file)
- Program.cs (file)
- SVNCleaner (file)
- license.txt (file not in repos)
Remove All .svn
This menu option recursively removes all *.svn directories from the selected directory.
For Example:
- SVN Cleaner (dir)
- .svn (dir)
- obj (dir not in repos)
- Debug (dir with files)
- Release (dir with files)
- Properties (dir)
- .svn (dir)
- AssemblyInfo.cs (file)
- Settings.Designer.cs (file)
- Settings (file)
- Program.cs (file)
- SVNCleaner (file)
- license.txt (file not in repos)
Remove All But Root .svn
This menu option recursively removes all *.svn directories and files from the selected directory except the Root directory.
For Example:
- SVN Cleaner (dir)
- .svn (dir)
- obj (dir not in repos)
- Debug (dir with files)
- Release (dir with files)
- Properties (dir)
- .svn (dir)
- AssemblyInfo.cs (file)
- Settings.Designer.cs (file)
- Settings (file)
- Program.cs (file)
- SVNCleaner (file)
- license.txt (file not in repos)
Remove Local Repo Files
This menu option recursively removes all local files that also exist in the repos. This is regardless of whether the local files have been edited (red exclamation mark) or match (green check mark) the repository files. This however WILL NOT delete directories of any kind.
For Example:
- SVN Cleaner (dir)
- .svn (dir)
- obj (dir not in repos)
- Debug (dir with files)
- Release (dir with files)
- Properties (dir)
- .svn (dir)
- AssemblyInfo.cs (file)
- Settings.Designer.cs (file)
- Settings (file)
- Program.cs (file)
- SVNCleaner (file)
- license.txt (file not in repos)
Requirements
- Microsoft Windows (XP or Vista, and heck probably Windows 7)
- .NET 2.0 Framework
For More Information About the Project
Releases
1.1.0
- Added two new menu options, Remove All But Root .svn and Remove Local Repo Files
- Fixed the error logging, to actually work and be located in the Program Files/SVN Cleaner directory
1.0.1
- When the program is executed, it no longer flashes a black console screen. Just a minor visual improvement.