Product Version = NetBeans IDE 7.3 (Build 201302132200)
Operating System = Mac OS X version 10.6.8 running on x86_64
Java; VM; Vendor = 1.6.0_41
Runtime = Java HotSpot(TM) 64-Bit Server VM 20.14-b01-445
Created attachment 131983 [details]
What version control you use ?
What version control system? What kind of file (php, java, other)? Is it refreshed in the Projects/Files view? Please make a screenshot. Does it help if you close and reopen the file?
What version control system?
GIT (git version 18.104.22.168)
What kind of file (php, java, other)?
.php, .phtml, .js. css
Is it refreshed in the Projects/Files view?
Does it help if you close and reopen the file?
Please make a screenshot - I'm not really sure what you'd like to see, but here's a screenshot of a file after commit: http://cl.ly/image/3l0Q1L2V3F38
It seems the IDE thinks the status is still modified, i don't know why. Can you try to refresh the status manually (the refresh button in the diff view's tollbar)? Does the diff view display any differences for the file?
Refreshing manually in diff view helped.
btw, did you commit from the IDE or in shell/commandline ?
Commandline (always worked, until 7.3)
works for me except for one case: i open a project from a location that is a symbolic link to the real project folder. So my question is: is the path the project is opened from real canonicalized one or is there a symlink somewhere in its path?
I had some apple's updates to install and as a result I restarted my computer and now Netbeans works, so I guess this restart may have helped or the updates helped - anyway, problem doesn't seem to be on Netbeans' side after all, sorry.
It doesn't work again so it wasn't a one time thing.
Please try this:
1) make some local changes, then shutdown the IDE
2) start the IDE with -J-Dorg.netbeans.modules.git.status.level=-1 (from shell)
3) wait for a while so the statuses in the IDE are refreshed
4) do the commit in commandline, switch to the IDE, then wait a while and if the statuses are not refreshed attach the messages.log (http://wiki.netbeans.org/FaqLogMessagesFile)
-J-Dorg.netbeans.modules.git.status.level=-1 enables more logging, so i will be a bit wiser after i analyze the logs
Created attachment 132150 [details]
Extended log (-J-Dorg.netbeans.modules.git.status.level=-1)
seems no FS events are fired when you commit externally, please try again once more with the previous switch plus with -J-Dorg.netbeans.modules.masterfs.watcher.level=FINE
Created attachment 132153 [details]
Extended log (git.status.level=-1 and watcher.level=FINE)
the messages log states:
> FINE [org.netbeans.modules.masterfs.watcher.macosx.OSXNotifier]: Event on /Users/wojtek/desktop/webwise/git/instantform-mimi/.git/
> FINER [org.netbeans.modules.git.status.cache]: getCachedStatus for file /Users/wojtek/Desktop/webwise/git/instantform-mimi/app/instantform/views/index.phtml: [MODIFIED_HEAD_WORKING_TREE, MODIFIED_INDEX_WORKING_TREE]
Notice the difference in names: /Users/wojtek/D(d)esktop - once with 'd', once with 'D'. What is the correct name? Make sure you open the project from the right location.
Strange, but both of those names work, although Desktop is the correct one (desktop isn't even listed by ls). I create projects from Netbeans and open them from Netbeans.
Reassigning to filesystems, please see the log. The events coming from OSXNotifier are delivered for /Users/wojtek/desktop/webwise/git/instantform-mimi/.git instead of /Users/wojtek/Desktop/webwise/git/instantform-mimi/.git. Not sure if it makes any difference, but VCS subsystem does not get any events regarding git metadata - it should get events via Interceptor.refreshRecursively
NB 7.2 worked fine.
Should I go back to 7.2 or is it something I should change on my end in some system settings?
I don't really understand your last comment...
(In reply to comment #20)
> I don't really understand your last comment...
Wasn't intended to you but to the owner of platform/FileSystems
Please generate also log with:
and include the previous log messages too. Thanks.
No new report has been generated.