Skip to main content



      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 UserFriend
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
Eclipse UserFriend
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 UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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 messageGo to next message
Eclipse UserFriend
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
Re: Compare file in workspace with revision? [message #1716383 is a reply to message #19906] Thu, 03 December 2015 06:58 Go to previous message
Eclipse UserFriend
I do so as suggested but the question is really why there are in the "Compare with" popup all thinkable variants but not even the trunk. Why is even this case excluded? In 100 cases off calling "Compare with" from a branch workspace it is 99 times the case that I want to compare with trunk.
Previous Topic:svn+ssh not working at all
Next Topic:How to properly move a project inside a SVN repository?
Goto Forum:
  


Current Time: Mon Jul 14 21:10:34 EDT 2025

Powered by FUDForum. Page generated in 0.04202 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top