Way to do version control operations (SubVersion) on a single file in 6.0?

Hello,

With the new Changes view, why is the "Version control" menu disabled behind right-clicking on source code?

How can I now easily commit and diff a single file?

Having to step to the changes view and, in the case of commits, creating a dummy change set, feels like a step backwards to me.

Best wishes,

Timo

13 comments

Hello Timo,

TR> With the new Changes view, why is the "Version control" menu
TR> disabled behind right-clicking on source code?
TR>
TR> How can I now easily commit and diff a single file?
TR>
TR> Having to step to the changes view and, in the case of commits,
TR> creating a dummy change set, feels like a step backwards to me.

It's definitely not supposed to be disabled. Do you right-click in the editor?
Does the problem happen with a regular source file under a module source
root, or is there anything special about the file?

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


0

Hello,

It's definitely not supposed to be disabled. Do you
right-click in the editor?


Yes.

Does the problem happen with a regular source file
under a module source
root, or is there anything special about the file?


Nothing special, and it happens with any file. All modules of my project show SubVersion as the chosen version control, and the global version control works normally.

I've restarted IDEA at least a couple of times since the upgrade.

Is it possible that some old plugin would interfere? For example the old SubVersion report plugin.

- TImo

0

Hello Timo,

>> Does the problem happen with a regular source file
>> under a module source root, or is there anything special about the file?
TR> Nothing special, and it happens with any file. All modules of my
TR> project show SubVersion as the chosen version control, and the
TR> global version control works normally.
TR>
TR> I've restarted IDEA at least a couple of times since the upgrade.
TR>
TR> Is it possible that some old plugin would interfere? For example the
TR> old SubVersion report plugin.

Yes, it's possible that third-party plugins or customizations could interfere.

To clarify the expected behavior a bit: when you right-click a file, the
submenu called "Subversion" should appear in the context menu, and it contains
actions like "Commit File" and "Compare with Last Repository Version".

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


0

To clarify the expected behavior a bit: when you
right-click a file, the
submenu called "Subversion" should appear in the
context menu, and it contains
actions like "Commit File" and "Compare with Last
Repository Version".


Do you mean "Subversion" on "Version control"?

Right-clicking on the file in the editor or in the left hand side tree produces a menu with an item "Version Control" and the triangle pointing right for more options, but it's disabled.

0

What SVN version do you use? Did you check out the source using IDEA or some other client?

Does the following look like your case: http://support.jetbrains.com/kb/entry.jspa?externalID=231&categoryID=4 ?

0

What SVN version do you use?


Mostly I use the IDEA SVN integration -- the global / change set SVN functionality works normally in IDEA. Sometimes I use the svn command-line client version 1.3.1 (r19032), which is older than the one referenced in the case below.

Did you check out the
source using IDEA or some other client?


The source code was already in place when I upgraded from IDEA 5 to 6. Everything worked normally under IDEA 5 (build 4267).

Does the following look like your case:
http://support.jetbrains.com/kb/entry.jspa?externalID=
231&categoryID=4 ?


No, because the global and change set functionality works normally. All that is missing is the file-specific commands.

0

Please try to check out the project again from IDEA and see if it helps.

0

Before that, I removed the following plugins

SVNReportIdea -- and restarted, but this did not help
Testdox_IDEA_Plugin_359
CCMonitor_2574

and restarted, and now the Subversion menu item is where it's supposed to be!

So it must have been either the Testdox plugin (that doesn't even work with IDEA 6) or CruiseControl monitor.

How these can break the version control menu is beyond my comprehension.

Anyway, Thankyou for the quick responses!

0

Could you please provide idea.log from ~\.IntelliJIdea60\system\log directory? It may have related exceptions.

0

The problem was with some conflicting plugin

0

Here comes. There are some exceptions but I have no idea of which ones are relevant to this.



Attachment(s):
idea.log
0

Thanks, looks like TestDox is causing this problem.

0

Timo,

I've just uploaded a build for IDEA 6.0 which should fix your issues. Please give it a whirl and let me know how it goes.

Thanks!

Franck

0

Please sign in to leave a comment.