Subversion 去除SVN标记

1.新建remove-svn-folders.reg
内容:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN]
@="Delete SVN Folders"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN\command]
@="cmd.exe /c \"TITLE Removing SVN Folders in %1 && COLOR 9A && FOR /r \"%1\" %%f IN (.svn) DO RD /s /q \"%%f\" \""

2.双击这个文件,此时右键任何文件夹都会出现一个"Delete SVN Folders",点击这项,将会把此文件夹下所有的.svn都给删除.

3.去掉右键"Delete SVN Folders"
命令行输入: regedit
删除: [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN]

4.MyEclipse编译去除svn文件夹
Project->Properties->Java Build Path->Source->Excluded
在Exclusion中加入"**/.svn/**",svn文件排除在编译路径中了.

你可能感兴趣的:(Subversion 去除SVN标记)