Really annoying VCS network problem

I am running 5622 but I am sure I noticed this issue starting in the last few EAP builds.

What happens is that I take my laptop home from work and so am disconnected from the network where the CVS server runs. Everytime I save a file (and on other occasions too), I get an error popup complaining that the CVS server cannot be found. This never happened in 5.1 and only started recently in the 6.0 builds.

It makes the IDE totally unusable "offline". Please, can it be fixed before 6.0 ships? I found a jira issue IDEADEV-6690 that talks about a similar problem but it does not mention the error popups. I think it must be related to the new way change tracking is done?

6 comments
Comment actions Permalink

This is indeed the same problem. The only reason that the issue doesn't
mention the popups is that it's talking about the bigger issue of IDEA
constantly connecting to the CVS server to 'update' its change markers
for the file.

Of course the error dialog will then appear if you don't have access to
the CVS server, and in fact I've been running into this recently as our
CVS server is not currently available.

The semi-easy workaround is to set the VCS for the project to ]]>
until you are back on your work network again. Maybe a 'Work Offline'
button in the IDE would be good to help this.

However there is still the bigger problem here. Things are a lot better
now than they used to be; IDEA would update every time the changed file
was visited, but now it appears to cache changes at least within the
project session. But whenever I reopen a project I still get the failed
CVS connect when I open changed files.

So this isn't 100% fixed still, please add your votes and comments to
get this one put to bed before the release.

http://www.jetbrains.net/jira/browse/IDEADEV-6690

Cheers,
N.


Ian Booth wrote:

I am running 5622 but I am sure I noticed this issue starting in the last few EAP builds.

What happens is that I take my laptop home from work and so am disconnected from the network where the CVS server runs. Everytime I save a file (and on other occasions too), I get an error popup complaining that the CVS server cannot be found. This never happened in 5.1 and only started recently in the 6.0 builds.

It makes the IDE totally unusable "offline". Please, can it be fixed before 6.0 ships? I found a jira issue IDEADEV-6690 that talks about a similar problem but it does not mention the error popups. I think it must be related to the new way change tracking is done?

0
Comment actions Permalink

Thanks for the extra information. Can someone explain why the change tracking functionality was altered? What was wrong with how it was before? I also notice with that now when I do make changes, there is often a delay before the change tracking indicators show in the gutter margin. I'm sure there is a good reason for why it has been implemented differently but it sure seems like it has created a bunch of problems.

I'll vote for the jira because having to turn off VCS when I disconnect from the network so that I can work just isn't acceptable :(

0
Comment actions Permalink

I marked it as unanswered because I asked a new question in my reply ie why the change tracking was implemented differently in 6.0

0
Comment actions Permalink

Hello Ian,

IB> Thanks for the extra information. Can someone explain why the change
IB> tracking functionality was altered? What was wrong with how it was
IB> before? I also notice with that now when I do make changes, there is
IB> often a delay before the change tracking indicators show in the
IB> gutter margin. I'm sure there is a good reason for why it has been
IB> implemented differently but it sure seems like it has created a
IB> bunch of problems.

The change tracking functionality was altered because of the appearance of
the Changes view, which now serves as the main container for the VCS status
of all files in the project. Indeed, the new implementation is not 100% clean
right now, but we're working to resolve the problems.

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


0
Comment actions Permalink

Note that the other reason for selecting no VCS is that you don't get
any error dialogs when creating or deleting files either. Because of
this I think it is acceptable to switch off VCS when working offline, if
not a bit clunky to achieve in the current implementation.

However what is not acceptable is the unnecessary access of the VCS (and
the subsequent pauses) for those who work across a slow link, but who
still want to work online so that automatic add/removes are applied to
the server.

Cheers,
N.

Ian Booth wrote:

I'll vote for the jira because having to turn off VCS when I disconnect from the network so that I can work just isn't acceptable :(

0
Comment actions Permalink

Oh, that explains it - thanks. I do like the new Changes view. So long as I can work offline and still have the change tracking in the gutter margins, I'll be happy :)

What would be nice, if you are still working on this functionality, is something along the lines of what Nathan suggested in this thread - an easy way to tell the IDE that CVS isn't available, so that, for example, if you create a new file or delete an existing one, it won't try and contact CVS and so you don't then get the error popup. This happens in the 5.x releases also but is not a show stopper for me, just a nice to have feature if it were there. I know you can turn the automatic file add/delete off, but in general I want an easy way to tell the IDE that CVS is not available at the moment and so don't bother trying to contact it.

0

Please sign in to leave a comment.