[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] [Subclipse-users] How to compare two revisions of a file

From: Mark Phippard <markphip_at_gmail.com>
Date: Tue, 15 Dec 2009 08:52:51 -0500

2009/12/15 Alain Désilets <alain.desilets_at_nrc-cnrc.gc.ca>:
> I need to compare two revisions of a file, and can't seem to be able to do
> it.
>
> Here's what I do:
> * Right click on the file > Team > Show History
> * This display a list of all revisions in History tab.
> * Right click on the topmost revision > Compare ...
> * In Compare from, leave Revision: 23866 (current revision), and check the
> Compare with HEAD Revision box.
> * In Compare from, enter Revision: 23 (first revision ever of that file, 20
> or more changes since then over course of 7 years), and check the Compare
> with HEAD Revision box.
> * Compare type: Graphical
> * OK
>
> Eclipse says:
> * There are no differences between the selected inputs.
>
> Yet, if I click on the two revisions individually, I see obvious differences
> between the two.
>
> Is this a bug, or am I misunderstanding how to use this feature?

Misunderstanding. You compared the HEAD revision with itself, you did
not compare the two revisions. You should not have checked that box.
It basically means, instead of specifying a revision just use HEAD
(which means the most recent revision).

BTW, there is an easier way to do what you want to do. Just
Ctrl-Click to select the two revisions you want to compare in the
History view and then choose Compare. The revisions will come in
pre-filled and you can just click OK.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2430540
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2009-12-15 14:52:58 CET

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.