Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to compare two SVN revisions in XCode?

Is there a way to compare all changes between two SVN revisions in XCode?

(I do know how to view compare a single file, using XCode 4's source-control view mode, and I do know how to view changes introduced in a single revision in the organizer's repositories section.)

like image 498
Danra Avatar asked Nov 15 '11 10:11

Danra


People also ask

How to compare two revisions in SVN?

Pick the two revisions you want to compare then use Context Menu → Compare Revisions. If you want to compare the same item in two different trees, for example the trunk and a branch, you can use the repository browser to open up both trees, select the file in both places, then use Context Menu → Compare Revisions.

How do I compare two commits in Xcode?

To compare changes in one source file, open the file and click the Enable Code Review button in the upper-right corner of the Xcode window. The comparison view highlights changes between the current source code and the most recent commit.


1 Answers

In XCode 6, here is how you do it:

  1. Click the compare button and choose "Comparison". Button is in the top right of the XCode window.

    Xcode 6 comparison mode

  2. Choose a revision. Controls are at the bottom of the editor pane. Xcode 6 choose revision

like image 82
wmarbut Avatar answered Sep 18 '22 03:09

wmarbut