Reviewing recent Subversion changes

A colleague has recently committed code to our Subversion repository. I want to review the changes.
Is there any easy way in IDEA to do this?

For example, I'd like to bring up a Tool window which showed me the differences between 2 Subversion revisions, and then I'd be able to open the code in the editor and do a comparison.

Thanks,
Calum

0

Hello Calum,

A colleague has recently committed code to our Subversion repository.
I want to review the changes. Is there any easy way in IDEA to do
this?

For example, I'd like to bring up a Tool window which showed me the
differences between 2 Subversion revisions, and then I'd be able to
open the code in the editor and do a comparison.


Right-click on a folder containing the changes, select "Subversion | Browse
Changes..." from the context menu.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Invoke 'Show History' on the file, select the two revisions to compare, then choose 'Compare' (or Ctrl+D).

0

Hi

Dmitry: the changes I want to review are spread across more than 1 revision. Browse Changes only lets you see the changes in a particular review. I basically want to compare HEAD with an arbitrary revision.
Also, the changes are shown in a dialog; it would be better if they were shown in a Tool window.

Martin: yes - I can do this for an individual file. But I want to see an overview of all the changes in all files between 2 particular revisions, and then I can look at each particular change in detail.

Thanks,
Calum

0

You can do this with JetBrains plug-in TMate, which I believe you can download a trial version of (although I'm not sure if the project is still alive anymore).

0

Yes - the status of TMate isn't clear.
If you Google for TMate, it brings up www.jetbrains.com/tmate/.
If you go there, it redirects to www.jetbrains.com/products.html.

0

Hello Simon,

You can do this with JetBrains plug-in TMate, which I believe you can
download a trial version of (although I'm not sure if the project is
still alive anymore).


TMate has been (more or less officially) discontinued.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

I'm hoping that its functionality is going to be rolled into Selena, because TMate makes reviewing source control check-ins a breeze.

0

I've discovered that the Changes tool window in Selena has a new tab, "Committed".
This lets me easily view the changeset for a particular revision in Subversion, in either a tree structure or flat, which is pretty close to what I wanted.

I suppose a couple of extensions of this might be:
1) view the differences between any 2 revisions in Subversion
2) view the differences between a Subversion revision and the current working copy.

However, what's in Selena is actually pretty good for me now.
Thanks, JetBrains!
Calum

0

Hello Calum,

I've discovered that the Changes tool window in Selena has a new tab,
"Committed".

This lets me easily view the changeset for a particular revision in
Subversion, in either a tree structure or flat, which is pretty close
to what I wanted.

I suppose a couple of extensions of this might be:
1) view the differences between any 2 revisions in Subversion
2) view the differences between a Subversion revision and the current
working copy.


If you need this for a single file and not for an entire tree, this has long
been available. For the first one, select "Subversion | Show History", select
the revisions to compare and press the "Diff" button. For the second one,
select one of the "Subversion | Compare With..." items from the context menu
for a file.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Hi Dmitry
Yes - I think I was aware of these 2 options.
It's the tree-based option which would now be useful - and is partially there in the "Committed" tab.
Calum

0

请先登录再写评论。