我有一个代码目录结构,它是这样的:
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 文件与分支/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 一起使用的解决方案,我可以在其中提供文件列表进行比较?也欢迎其他建议和工具。
最佳答案
Total Commander有 同步目录 命令(在 命令 菜单中)允许您递归地比较 2 个文件夹并查看差异(哪些文件在一个目录中而不在另一个目录中,哪些文件已更改)。
不幸的是,您无法使用此比较的结果生成“全局差异”文件(或者,如果可以,我还没有找到方法)。
试一试,告诉我这是否是你要找的。
关于svn - 如何使用 WinMerge 区分自定义文件列表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2735454/