Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » Compare file in workspace with revision?
Compare file in workspace with revision? [message #19480] Fri, 23 May 2008 04:29 Go to next message
Eclipse User
Originally posted by: joerg.von.frantzius.artnology.com

Hi,

probably I didn't see the obvious, but how can I compare a file in my
workspace with a certain revision in SVN? At least right-click "Compare
with..." on the file doesn't offer that option.

Regards,
Jörg
Re: Compare file in workspace with revision? [message #19530 is a reply to message #19480] Fri, 23 May 2008 05:13 Go to previous messageGo to next message
Owen Rees is currently offline Owen Rees
Messages: 41
Registered: July 2009
Member
Jörg von Frantzius <joerg.von.frantzius@artnology.com> writes:

> Hi,
>
> probably I didn't see the obvious, but how can I compare a file in my
> workspace with a certain revision in SVN? At least right-click
> "Compare with..." on the file doesn't offer that option.

Right-click "Team/Show History" and you will get a History view
showing the revisions for that file. Right click on a history item
offers "Compare current with n" (where n is whatever revision you
chose).

--
Owen Rees; speaking personally, and not on behalf of HP.
========================================================
Hewlett-Packard Limited. Registered No: 690597 England
Registered Office: Cain Road, Bracknell, Berks RG12 1HN
Re: Compare file in workspace with revision? [message #19575 is a reply to message #19530] Fri, 23 May 2008 06:46 Go to previous messageGo to next message
Eclipse User
Originally posted by: joerg.von.frantzius.artnology.com

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Owen Rees schrieb:
<blockquote cite="mid:m3wsll8jss.fsf@orees.hpl.hp.com" type="cite">
<pre wrap="">Jörg von Frantzius <a class="moz-txt-link-rfc2396E" href="mailto:joerg.von.frantzius@artnology.com">&lt;joerg.von.frantzius@artnology.com&gt;</a> writes:

</pre>
<blockquote type="cite">
<pre wrap="">Hi,

probably I didn't see the obvious, but how can I compare a file in my
workspace with a certain revision in SVN? At least right-click
"Compare with..." on the file doesn't offer that option.
</pre>
</blockquote>
<pre wrap=""><!---->
Right-click "Team/Show History" and you will get a History view
showing the revisions for that file. Right click on a history item
offers "Compare current with n" (where n is whatever revision you
chose).

</pre>
</blockquote>
Thanks! Now that wasn't really <i>so</i> obvious I could say in my
defense :)<br>
</body>
</html>
Re: Compare file in workspace with revision? [message #19665 is a reply to message #19575] Fri, 23 May 2008 06:59 Go to previous messageGo to next message
Owen Rees is currently offline Owen Rees
Messages: 41
Registered: July 2009
Member
Jörg von Frantzius <joerg.von.frantzius@artnology.com> writes:

> Thanks! Now that wasn't really so obvious I could say in my
> defense :)

It is different from CVS which has a "Compare with/History..." item
on the context (right click) menu - that just opens the History view
so it is the same as "Team/Show History..." but perhaps easier to
find.

Subversive provides a "Compare with/Local history..." which just told
me there was no local history for th exampe I tried.


--
Owen Rees; speaking personally, and not on behalf of HP.
========================================================
Hewlett-Packard Limited. Registered No: 690597 England
Registered Office: Cain Road, Bracknell, Berks RG12 1HN
Re: Compare file in workspace with revision? [message #19710 is a reply to message #19480] Fri, 23 May 2008 11:37 Go to previous messageGo to next message
Alexei Goncharov is currently offline Alexei Goncharov
Messages: 35
Registered: July 2009
Member
Hi, Jorg.

You just have to click Team->Compare With URL...
The default URL will be the URL of the selected in the workspace resource
repository copy. Then you can select a revision of it in a appropriate
groupbox of the dialog and get Compare With Revision:).

Best regards, Alexei Goncharov.
Subversive Team.
Re: Compare file in workspace with revision? [message #19850 is a reply to message #19665] Mon, 26 May 2008 05:50 Go to previous messageGo to next message
Cesar Martinez Izquierdo is currently offline Cesar Martinez Izquierdo
Messages: 1
Registered: July 2009
Junior Member
Hello. And is it possible to compare a file in a branch with the current
version in the trunk? I've not been able to find this option.

Thanks!

César
Re: Compare file in workspace with revision? [message #19906 is a reply to message #19850] Mon, 26 May 2008 09:36 Go to previous message
Alexei Goncharov is currently offline Alexei Goncharov
Messages: 35
Registered: July 2009
Member
Cesar Martinez wrote:

> Hello. And is it possible to compare a file in a branch with the current
> version in the trunk? I've not been able to find this option.

> Thanks!

> César

Just "copare with url". Then "Browse" and manually find and select the
file in the trunk.

Best regards, Alexei Goncharov.
Subversive Team
Previous Topic:Instalation problem "requires org.eclipse.team.svn"
Next Topic:Subversive 0.7 will not install with 3.4RC2
Goto Forum:
  


Current Time: Fri May 24 17:05:54 EDT 2013

Powered by FUDForum. Page generated in 0.03851 seconds