Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Irina Chernushina
Subsystem
Version Control. Subversion
Affected versions
No Affected versions
Fixed in build
108.65  
  • Created by   Yann Cébron
    3 years ago (04 Nov 2008 12:53)
  • Updated by   root
    2 years ago (17 Jan 2010 21:08)
  • Jira: IDEADEV-32574
    (history, comments)
 
IDEA-46480 SVN doesn't update project view/change view after commit, full restart of IDEA needed
4
Issue is visible to: All Users
  The issue is visible to the selected user group only
I commited a changelist with about 20 files
two files which should have been included in this list showed up afterwards as changed and uncommitted, so I re-performed commit with these two

but still they stayed "blue", several invocations of "cleanup" / "update" / "refresh file status" VCS didn't change anything, only a full restart of IDEA synchronized everything again


the only entries in idea.log are a few entries like

INFO - ins.idea.svn.SvnChangeProvider - Rename not found for .. [filename, but not one of the two files mentioned above]




Issue was resolved
Comments (15)
 
History
 
Linked Issues (?)
 
Erik Pragt
  Erik Pragt
04 Nov 2008 13:38
3 years ago
This also happened to me a couple of times with different builds on Mac OS X. It broke a couple of builds for me, which is bad for me and bad for the team.
Grant Gochnauer
  Grant Gochnauer
04 Nov 2008 16:06
3 years ago
I've actually seen this happen where I'll make a bunch of changes, then immediately commit. After I commit, a period of 15 seconds or so will pass, and then all the sudden, I have a few more files in my changes list that need to be committed. It's like there is a delay when finding changed files to commit so you end up commiting only a partial list of recently changed files.
Yann Cébron
  Yann Cébron
04 Nov 2008 16:37
3 years ago
Grant, I usually even synchronize manually before invoking Commit due to all those missed move-operations.
Irina Chernushina
  Irina Chernushina
04 Nov 2008 18:40
3 years ago
Hello Yann,

1) could you please check (in Changes | Repository or by svn log) whether those two files had actually been committed?
Could you also check (if they were committed) - were there any changes to them? (through Diff)

and were there any changes comitted in your second commit?

2)
Do you use "Update administrative information only in changed subtrees" option in Update project?
Yann Cébron
  Yann Cébron
04 Nov 2008 18:50
3 years ago
1) there was no second tried commit on server, and IIRC all files were included correctly in first big commit
2) yes (btw, there's no help entry for this option, only tooltip), also "run status after update" is disabled
Irina Chernushina
  Irina Chernushina
04 Nov 2008 19:41
3 years ago
If it is not too difficult for you, could you please do the check with
"svn log <local path> -r <revision number>"
OR
in Changes | Repository -> your revision from list -> details on the right

it is important to understand where the bug was.

it is the only thing we still could check - the local state had changed and we can not now check local status...


Concerning "Update administrative information only in changed subtrees" - this option is intended to make updates faster, and it uses another algorithm for work with Subversion administrative information. It makes fewer locks in administrative area.
Yann Cébron
  Yann Cébron
04 Nov 2008 19:46
3 years ago
what do you mean with "details on the right" - the list of changed files? as I wrote I'm quite sure all files which I committed first are shown there
Irina Chernushina
  Irina Chernushina
04 Nov 2008 19:54
3 years ago
I see, sorry. I misunderstood you.
Dmitry Jemerov
  Dmitry Jemerov
04 Nov 2008 22:35
3 years ago
Yann,

Did the blue status stay only on the files that you have renamed?
Yann Cébron
  Yann Cébron
04 Nov 2008 22:38
3 years ago
IIRC yes

maybe it helps- what I did was the following:

1. rename SomeClass –> SomeClassImpl
2. extract Interface to SomeClass-interface, so basically "overwriting" previous Class-file

note: interface was created in different module, but with exactly same path-structure
Grant Gochnauer
  Grant Gochnauer
05 Nov 2008 22:45
3 years ago
Irina –

Here is another example in SVN_refresh.jpg.

For example, I made some changes to JAR files in my project and at first my IPR file (rocheCWP.ipr was highlighted as modified). Then I made a couple more changes to other files, and then all the sudden IDEA thinks that RocheCWP.ipr is no longer modified. Using an external tool like tortoiseSVN, you'll see that it indeed is modified. I can even do a diff on the file using tortoise and I see all my changes that IDEA is not detecting.

Interestingly, if I right click on the file in IDEA and compare to latest version from HEAD, I'll see all my outgoing changes highlighted. For some reason IDEA just isn't recognizing them so it's not in any changelist to be
committed. This is one situation that happens quite frequently where IDEA doesn't find changed files.

This test was done in 8.0 RC2

Grant
Grant Gochnauer
  Grant Gochnauer
05 Nov 2008 22:50
3 years ago
Also, the pom.xml file circled in the screenshot is modified yet IDEA doesn't think it is.. The only way I'd remember to check it in is to minimize IDEA and use TortoiseSVN.
Dmitry Jemerov
  Dmitry Jemerov
05 Nov 2008 22:53
3 years ago
Grant,

Please don't confuse things by piling unrelated reports into one issue. I see that you're having problems with files which are in the project base directory but outside of any module content roots. Please file a separate issue about this.
Grant Gochnauer
  Grant Gochnauer
05 Nov 2008 22:58
3 years ago
Dmitry –

Sorry about confusing things. I'll go ahead and file another issue. I thought since both were about refreshing the status they were the same.

Grant
Irina Chernushina
  Irina Chernushina
06 Nov 2008 15:30
3 years ago
(fixed by Maxim Shafirov)