Svn 如何使用WinMerge区分自定义文件列表
我有一个代码目录结构,它是:Svn 如何使用WinMerge区分自定义文件列表,svn,diff,winmerge,Svn,Diff,Winmerge,我有一个代码目录结构,它是: modudle1 trunk pom.xml branches 1.1 pom.xml modudle2 trunk pom.xml submodule-2.1 pom.xml submodule-2.2 pom.xml branches 1.1 pom.xml submodu
modudle1
trunk
pom.xml
branches
1.1
pom.xml
modudle2
trunk
pom.xml
submodule-2.1
pom.xml
submodule-2.2
pom.xml
branches
1.1
pom.xml
submodule-2.1
pom.xml
submodule-2.2
pom.xml
我需要将主干文件夹中的pom.xml文件与Branchs/1.1中的文件进行比较:
modudle1\trunk\pom.xml
modudle1\branches\1.1\pom.xml
modudle2\trunk\pom.xml
modudle2\branches\1.1\pom.xml
modudle2\trunk\submodule-2.1\pom.xml
modudle2\branches\1.1\submodule-2.1\pom.xml
modudle2\trunk\submodule-2.2\pom.xml
modudle2\branches\1.1\submodule-2.2\pom.xml
有什么解决方案可以做到这一点?有没有一个解决方案可以与WinMerge一起使用,在这里我可以提供一个文件列表进行比较?也欢迎其他建议和工具。我认为最简单的方法是编写脚本,以便传递给WinMerge:
- 一个固定文件
- 脚本找到的一个文件(本质上是一个“
”位于正确的路径中)find.-name”pom.xml“
请尝试一下,告诉我这是否是您想要的。WinMerge也具有比较两个文件夹的功能。但正如您在上面的示例中所看到的,该结构意味着没有这样的两个文件夹比较,这将显示所有pom.xml文件之间的差异。