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 97972

Summary: Provide a way to open revisions from Search History - Diff view
Product: versioncontrol Reporter: kirillkh <kirillkh>
Component: CVSAssignee: issues@versioncontrol <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 89591    

Description kirillkh 2007-03-15 14:14:16 UTC
I frequently miss a way to open certain revision in a separate editor tab, when
looking at it in the Search History window in Diff mode. 

1. search history of a file or group of files
2. switch to the Diff mode (instead of Summary mode)
3. expand a file node
4. right-click a revision: I expect the menu to contain a "View revision X.X"
item, but it isn't there

Such menu item is present in the Summary mode, and I often find myself switching
there just to open the selected revision in a new tab. Although in Diff mode you
can see the revision's source code in the diff split pane, this often is not
convenient, because:
1. you might want to leave the revision open for future reference and meanwhile
move on to doing something else with the Search History window
2. the source code can be too long and/or wide for the split pane
3. the diff markup can be distracting, if you are simply trying to read the code
of this revision instead of comparing it with another
Comment 1 Maros Sandor 2007-03-19 10:42:26 UTC
Can be done to 6.0.
Comment 2 Maros Sandor 2007-03-27 16:39:24 UTC
View Revision now works in both Diff and Summary views.

/shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ui/history/ViewRevisionAction.java,v
 <--  ViewRevisionAction.java
new revision: 1.2; previous revision: 1.1
/shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ui/history/RevisionNode.java,v
 <--  RevisionNode.java
new revision: 1.22; previous revision: 1.21
/shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ui/history/SummaryView.java,v
 <--  SummaryView.java
new revision: 1.33; previous revision: 1.32