Jason S
Jason S

Reputation: 189676

svn: How do I see what files have changed between two revisions (ignoring intermediate versions)

I have the following history for my branch of a project:

Is there a way I can find out which files were changed between revision 3780 and 3805, without being misled by files which have changed back to their original state? I am trying to verify that the net effect of 3780->3805 is a relatively small set of changes.

e.g. if file X.cpp changed in r3803 and then changed back in r3805 to the same state as in 3780, I need to not see X.cpp in my diff.

NOTE: This is not the same as How do I see what files were changed between 2 revisions?, the answers of which state which files have been changed in any of the revisions between the start and end.

Upvotes: 2

Views: 502

Answers (4)

Zac Thompson
Zac Thompson

Reputation: 12675

To answer the original question, if you want to see the list of files and not all the diff details:

svn diff --summarize -r 3780:3805 [target]

Upvotes: 0

Norman Joyner
Norman Joyner

Reputation: 955

You can do:

svn diff -r 3780:3805 .

Assuming you are at the directory where you would like to perform this.

Upvotes: 3

Did you consider the following?

  1. Check-out 3780, then export content in a temporary directory A.
  2. Check-out 3805, then export content in a temporary directory B.
  3. Use windiff (or equivalent) to compare A and B?

Upvotes: 1

Cédric Julien
Cédric Julien

Reputation: 80761

Try with svn diff -r 3780:3805 http://url_of_your_branch

Upvotes: 2

Related Questions