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.
when selecting a revision in the history tab, it is compared with the current state in the editor, while this is intentional it also seems to be desirable to support a revision browsing mode when a selected revision is compared to the previous one - the same way as in the diff view in a vcs Search History dialog. suggested solution: - add toggle to the toolbar to switch between selection modes - compare with current vs. compare with previous - default state should be compare with current
first draft core-main #e0b938e731a0 added a combo to the toolbar to switch between the two modes: 1.) Diff to Current (default) compares the selected revision with the current state in the editor 2.) Diff to Previous compares the selected revision with a previous revision which in the current state is: - in case of a vcs revision the time nearest vcs revision available - in case of a local change the time nearest revision, no matter if vcs or a local change Note that this might be incorrect in some cases: - in case of a selected VCS revision it actually should be it's "parent" revision - will fix before this issue is resolved - in case of a selected local change the time-nearest doesn't necessarily has to be the revision from which the selected one originates. Will ignore for now as wontfix. Maybe it could be always compared to the next nearest local change but that could be again source of confusion and it isn't expected that this mode will be used that much for loca lchanges anyway. also note that decided to call it "previous" insted of "parent" as the first one seems to be more general in it's meaning
Integrated into 'main-golden', will be available in build *201203090400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e0b938e731a0 User: Tomas Stupka <tstupka@netbeans.org> Log: Issue #208569 - Support various comparision modes in History tab
> Note that this might be incorrect in some cases: > - in case of a selected VCS revision it actually should be it's "parent" revision - will fix before this issue is resolved see issue #209673
fixed in scope of issue #209673, together with core-main #66afe125adfe