开发者

Tortoise SVN: compare two directories (instead of files or revisions)

You can compare two revisions or files with Tortoise SVN. Is there also a way to compare two directories?

I have two directories conta开发者_如何学运维ining source code. 90 percent of the code is identical. Now I'm going to store identical code in a plugin since duplicate code is bad. Tortoise Diff would be perfect for this if there was a way to compare two directories.

How can I achieve this? If it isn't possible with Tortoise, do you have other ideas / tools in mind for this purpose?


Not sure about Tortoise, but if you're running Windows I recommend WinMerge.

http://winmerge.org/


Right click the "Folder" which you want to compare Select "Mark for Comparison" Right click the other folder which you want to compare Select "Compare URLs" it will list out all the changes You can select them and copy them to local or copy them to another svn folder.

Hope this helps..


Beyond Compare is an excellent diff tool which supports directory comparison.


You can use Araxis Merge or WinMerge for this. They should allow you to set filters so that you can ignore .svn folder during comparison.


treecomp, for win only though :( but it's free

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜