fishbone
fishbone

Reputation: 3259

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 containing 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?

Upvotes: 13

Views: 22897

Answers (5)

bhinks
bhinks

Reputation: 1409

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

http://winmerge.org/

Upvotes: 11

Carel
Carel

Reputation: 3397

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

Upvotes: 1

MuthuKumaran
MuthuKumaran

Reputation: 103

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..

Upvotes: 5

splash
splash

Reputation: 13327

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

Upvotes: 2

omermuhammed
omermuhammed

Reputation: 7385

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.

Upvotes: 1

Related Questions