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.

Bug 231229 - Show changes and project/history do not work
Summary: Show changes and project/history do not work
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-13 15:48 UTC by everflux
Modified: 2013-06-18 12:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
history menu does not expan, maven project, git vcs (39.91 KB, image/png)
2013-06-17 18:45 UTC, everflux
Details
local history not accessible for project (61.66 KB, image/png)
2013-06-17 18:50 UTC, everflux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description everflux 2013-06-13 15:48:13 UTC
Product Version: NetBeans IDE Dev (Build 201306122301)

I have a PHP project with mercurial version control.
Rightclick on the project opens a context popup with the entry "history ->". I can neither click that entry, nor is separate context sub-menue opened.

When I click "Team" and then "Show changes" nothing happens as well.
Comment 1 everflux 2013-06-13 15:52:53 UTC
"Team->show changes" had no effect since there where no local changes.
Expected result would be to open the mercurial view nevertheless, showing that there are no changes. (Or a dialog "no changes", acknowledging the user action/intend instead of silence.)

After making changes the mercurial view opened as expected, the context "History->" menu was still not working.
Comment 2 Ondrej Vrabec 2013-06-17 07:56:54 UTC
Please make a screenshot of the history menu.
Regarding Show Changes: it works for me and the view is opened although empty because no changes are found. Attach the messages.log after you have called the action and the view has not been opened.
Comment 3 everflux 2013-06-17 18:45:35 UTC
Created attachment 135916 [details]
history menu does not expan, maven project, git vcs
Comment 4 everflux 2013-06-17 18:49:28 UTC
Regarding team->show changes, works as expected.
History menu: Does not expand from projects context menu.

IS accessible from Team->History main menu, though, but "history" can not be clicked when a project is selected.
(Maybe I am wrong here, but I think the local history worked on the project level as well.)
Comment 5 everflux 2013-06-17 18:50:49 UTC
Created attachment 135917 [details]
local history not accessible for project
Comment 6 Ondrej Vrabec 2013-06-17 19:43:53 UTC
are you sure local history module is enabled and working? Both the menus are actually the same and are populated with local history entries. Again, please attach the messages.log
Comment 7 Ondrej Vrabec 2013-06-18 08:40:12 UTC
the local history submenu is always empty for project's popup, caused by switching LH to the new versioning.core SPI. The relevant code is ProjectMenuItem.createVersioningSystemActions()
Comment 8 everflux 2013-06-18 08:44:58 UTC
I was using the local history quite regularly. I can access the history for a single file, which shows then the VCS (git/hg) and local history in combined form (awesome!), but I miss it on the project level.
Is the local history on the project level then only for restoring deleted files? I would consider that a major feature loss.
Comment 9 Ondrej Vrabec 2013-06-18 09:13:55 UTC
> Is the local history on the project level then only for restoring deleted
> files? I would consider that a major feature loss.
What feature loss? AFAIK local history never allowed browsing for folders/projects, only for files.
Comment 10 everflux 2013-06-18 09:25:04 UTC
Right, I must have been dreaming about that (or confusing it with idea).

So this report boils down to "history context menu for project does not expand" while it is accessible from the main menu.
Comment 11 Tomas Stupka 2013-06-18 12:29:01 UTC
fixed in core-main #ba1258ca4ed3