Tracked changes are lost after save

Hi,

In several EAP builds I have noticed the following problem:

Whenever I do some changes to a file, changes are highlighted in the editor sidebar and in the filename. But when I hit CTRL-S, switch to another program or wait some time, the highlighting is gone and the file appears as it didn't change.

I've noticed this problem in all EAP versions I tried after 5181 (where it works).

I guess it is already logged as bug 7532.


In the latest EAP build (5383) I have noticed a different problem:

If I do "Version Control" -> "Commit project" there is a dialog box saying "Analysing changes" for +- 5 minutes, after which it says "No changes detected". I use the ClearCase plugin.

Any thoughts?

Joris

7 comments
Comment actions Permalink

I've also noticed this, and it means I have to use another svn client to check files in behind IDEA's back. I find that if I have a set of modified files in the Default changelist then click 'refresh' in the Changes tool window, all those changes are removed.

I would hope that IDEA would sync using the .svn directories rather than relying on its own log of changes.

If I do a 'Check project status' then the information displayed there is correct; however this does not cause the Changes window to be updated. Plus, if I right-click on a file in the 'Check Status Info' window and choose 'Commit' I get a warning saying 'no changes detected'.

0
Comment actions Permalink

Hello Ben,

BP> I've also noticed this, and it means I have to use another svn
BP> client to check files in behind IDEA's back. I find that if I have
BP> a set of modified files in the Default changelist then click
BP> 'refresh' in the Changes tool window, all those changes are removed.
BP>
BP> I would hope that IDEA would sync using the .svn directories rather
BP> than relying on its own log of changes.
BP>
BP> If I do a 'Check project status' then the information displayed
BP> there is correct; however this does not cause the Changes window to
BP> be updated. Plus, if I right-click on a file in the 'Check Status
BP> Info' window and choose 'Commit' I get a warning saying 'no changes
BP> detected'.

The problem you are reporting is much more serious than the problem discussed
in the beginning of the thread (where the line status markers are lost but
the files are displayed correctly in the Changes view, and can be committed
from IDEA with no problems). Could you please describe how to reproduce this?
What is the version of the Subversion server you're connecting to?

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


0
Comment actions Permalink

Hi,

I'm sorry if it wasn't clear from the beginning. I have the same problem.

IntelliJ simply 'forgets' that the files were changed, so I can't do any version control operation (compare with previous, check in, ...).

Steps:
- Edit a file (markers show up etc..)
- CTRL-S
- File appears not to have changes (markers disappear, cannot check in etc..)

Joris

0
Comment actions Permalink

Steps to reproduce are
- make a change to a file (the change markers in the margins appear for that specfic change)
- the Changes window (correctly) says No files
- save the file
- the Changes window now says 1 file, and oddly I see other change markers appear in the margins, presumably from previous changes.
- click 'refresh'
- the tool window now says No files, and all the change markers have disappeared

I'll post what svn version we have when our sysadmin comes online. :(

I have TortoiseSVN installed as well, I assume there's no subtle interaction happening with that... I'd uninstall it but I kinda need it :)

0
Comment actions Permalink

I can reproduce the problem following these steps too - IDEA 5383, Subversion 1.1.4.

The Changes window worked successfully for me in previous builds.

0
Comment actions Permalink

svn server version is 1.3.0

0

Please sign in to leave a comment.