SVN 1.4 and IDEA 6.0.5 Hanging

All,

We just (as in yesterday), switched from CVS to SVN. We are using SVN 1.4 and IDEA 6.0.5. I personally have been having intermittent problems where IDEA seems to be just hanging when doing commits or updates. The entire app is not hanging in that I can cancel the commit or update or put it into the background, but the processes never seem to finish. Everytime I have reverted to using the command line, the commands I execute complete very quickly. I have open shell and NXClient connections to the SVN server, and I don't see any hiccups, so I don't think the problems are networking related. Is there any way to turn on some sort of verbose logging so that I can see what IDEA is doing while these commits and updates are happening?

Thanks,
Paul

5 comments

A thing that is easy to do, and may give you some info, is starting IDEA using the command line, and sending a CtrlBreak in the console.

This will print a thread dump

0

Hello Paul,

We just (as in yesterday), switched from CVS to SVN. We are using
SVN 1.4 and IDEA 6.0.5. I personally have been having intermittent
problems where IDEA seems to be just hanging when doing commits or
updates. The entire app is not hanging in that I can cancel the
commit or update or put it into the background, but the processes
never seem to finish. Everytime I have reverted to using the command
line, the commands I execute complete very quickly. I have open shell
and NXClient connections to the SVN server, and I don't see any
hiccups, so I don't think the problems are networking related. Is
there any way to turn on some sort of verbose logging so that I can
see what IDEA is doing while these commits and updates are happening?


http://www.jetbrains.net/jira/browse/IDEA-10011 describes one possible reason
for the problem and its solution.

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


0

Dmitri,

Thank you very much for your response. In my situation, I do not have any symbolic links, and I am not seeing a progress panel that says "VCS synchronization". I have seen that panel before, so I know what to look for. In my case, I have a Commit Changes panel that comes up, but the progress bar is always empty. One productivity hint is displayed, and it never changes. I do not see much of any CPU utilization on my machine when this is happening. IDEA seems very responsive in that I can drag this window around, and I can click on the Background button, and it immediately responds, sending the process to the background.

So, is there any way to turn on logging which will show me what's happening and possibly help pinpoint the troublespot?

Regards,
Paul

0

All,

For anyone else using svn 1.4 over ssh (svn+ssh) and IDEA 6.0.5, if you are not having these problems, would you mind responding just so that I know whether these problems are isolated to my team. I'm still also hoping someone might know how to turn on some logging to see what IDEA is doing when these problems occur.

Thanks,
Paul

0

All,

I have some answers to my questions. Mr. Baranov was kind enough to provide me with some information on enabling SVN logging in IDEA which helped to get to the bottom of the problem. Firstly, enabling logging is done by adding the following system properties to IDEA's vmoptions file (on Windows) or Info.plist (on Mac):

-Djavasvn.log=true -Djavasvn.log.trace=true

The log file that's created is
WIN - USER_HOME\.IntelliJIdea60\system\log\idea.log
MAC - ~/Library/Caches/IntelliJIDEA60/log/idea.log

In our case, what I discovered was that IDEA seemed to be very frustrated that a particular file was not checked into the repository. Under CVS, we had a .cvsignore file which instructed CVS to ignore this other file in question. With SVN, we needed to migrate the .cvsignore file to SVN's properties (http://svnbook.red-bean.com/en/1.1/ch07s02.html). Once I made this change, our problems immediately disappeared (Hopefully for good!)

Paul

0

Please sign in to leave a comment.