Archive for September, 2008

AnkhSVN update

September 10, 2008

AnkhSVN as mentioned before is a visual studio integrated sub version tool. It has released the new version v2.0, and is fully compatible with bot Visual Studio 2005 and Visual Studio 2008 version.

There are no issues as of now with the addin and it integrates smoothly with both editions of Visual Studio. 



Remove CVS/SVN binding from your folders

September 10, 2008

Sometimes, you may need to remove hidden CVS/SVN folders from the multi lever hierarchical folders. You do not want  traverse to each folder and remove hidden folders. There is a easy way to do that. Below is the text which you  need to copy it to notepad and save it as .reg file. Make sure you change what folder you want to delete and change appropriately in the text.

For example the below snippet is for deleting CVS folders. If you want to delete the SVS, replace CVS with SVN or .SVN or even _SVN.

   1: Windows Registry Editor Version 5.00
   3: [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteCVS]
   4: @="Delete CVS Folders"
   6: [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteCVS\command]
   7: @="cmd.exe /c \"TITLE Removing CVS Folders in %1 && FOR /r \"%1\" %%f IN (CVS) DO RD /s /q \"%%f\" \""

This will add a new context menu to folders with the name  “Delete CVS Folders”, once you hit this it will recursively delete all the CVS folders.

Note: You cannot get back your deleted folders. Take extra caution while doing this operation.