This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Switching git branches where there are alot of files corrupts project and removes it from the IDE | ||
---|---|---|---|
Product: | php | Reporter: | stl |
Component: | Project | Assignee: | Tomas Mysik <tmysik> |
Status: | RESOLVED INCOMPLETE | ||
Severity: | normal | CC: | ovrabec, vriha |
Priority: | P2 | ||
Version: | 8.0 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | IDE log |
Description
stl
2014-08-20 20:46:54 UTC
Created attachment 148802 [details]
IDE log
As an additional note, no exception is triggered by this. The work around for this is to close the IDE, and then reattach the project folder to the IDE. This seems to occur more frequently to the amount of files that are affected by switching git branches. If the new branch has alot more files then the project folder just goes away. This issue has nothing to do with performance - reassigning. How do you switch branches, in the IDE? And what is the project type (Java, C++, PHP?) Maybe Git and Projects could have a similar contract as VCS and Parsing - do not reload project metadata while the git command is in progress. No i am not switching the branches through the ide. It happens with either command line or a 3rd party git client. As stated it happens when there is a large number of changes between 2 branches. It seems to occur more often going from a small file branch to one where you may have added and or modified 70+ files. Project is PHP. reassigning for further evaluation @reporter: So, it means that the "nbproject" folder is deleted? And is the "nbproject" under VCS or not? Usually, nbproject should be versioned except nbproject/private directory. Also, anything "special" about your project setup? E.g. do you use upload-on-save or copy-on-save feature? Anything else we should know? Thanks. @vriha: Láďo, could you please try to reproduce this issue? And could you please try also another project type? I don't think that this is PHP specific issue. Thanks! @reporter: Are there any changes in NB project metadata between your git branches? E.g. project name, another Source Files etc. One more idea - could you please try to switch your branches from NetBeans and see if the problem occurs as well? Also, please attach the complete IDE log once you reproduce your issue. In any case, we will try to reproduce this issue but more information would help us, of course. Simply reopen this issue, thanks. |