因为我的svn目录和实际开发的代码目录是两个目录,所以需要每次从SVN更新代码之后,对两个目录做一个内容比较,同步新引入的代码文件。这样可以使用WM的名为“Exclude Source Control”过滤器,下面黑体字部分是我针对自己的Java项目的情况做了一些调整:
## This is a directory/file filter for WinMerge
## This filter lets through only files ASP.NET developers care about
name: Exclude Source Control
desc: Exclude Source Control files and directories
## This is an inclusive (loose) filter
## (it lets through everything not specified)
## 这里include表示目录名称或者文件名符合下面配置的正则表达式的文件和目录将被过滤器过滤掉(即被过滤器包含)
def: include
## Filters for filenames begin with f:
## Filters for directories begin with d:
## (Inline comments begin with " ##" and extend to the end of the line)
## f: *\.bzrignore$ ## Bazaar ignore file
## f: *\.cvsignore$ ## CVS ignore file
## f: *\.hgignore$ ## Mercurial ignore file
## f: *\.svnigno
## This is a directory/file filter for WinMerge
## This filter lets through only files ASP.NET developers care about
name: Exclude Source Control
desc: Exclude Source Control files and directories
## This is an inclusive (loose) filter
## (it lets through everything not specified)
## 这里include表示目录名称或者文件名符合下面配置的正则表达式的文件和目录将被过滤器过滤掉(即被过滤器包含)
def: include
## Filters for filenames begin with f:
## Filters for directories begin with d:
## (Inline comments begin with " ##" and extend to the end of the line)
## f: *\.bzrignore$ ## Bazaar ignore file
## f: *\.cvsignore$ ## CVS ignore file
## f: *\.hgignore$ ## Mercurial ignore file
## f: *\.svnigno