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.
Say I have open the trunk version of a source file. I have a bug report filed against NB 5.0 so I want to open the (tip of) release50 version to find the exact line where the problem occurred, based on the stack trace. How do I do that? The History window shows revision numbers but no symbolic names. I tried adding release50 to the From and To fields (appears in the Browse dialog) and clicking Search but that just results in nothing being displayed. BTW in Emacs this is trivial: C-x v ~ release50 ENTER
I tried to Search history of a file and entered "release55" in the From field and it worked just fine. Do you have a concrete example when such query fails? Otherwise I think we can make this a dup of Issue #66138 which is about adding symbolic names to search results. *** This issue has been marked as a duplicate of 66138 ***
Sure. Just open e.g. openide/nodes/src/org/openide/nodes/Node.java, type release50 in the From field, and Search. Nothing is displayed. Note that this file was not modified in the release50 branch. I don't care; I want to know what revision it had in this branch (more specifically I want to open that revision). Again this is what Emacs' C-x v ~ does quite simply, but this functionality is completely missing in NB. Issue #66138 would be a clumsy way of accomplishing the same thing; I would be able to find the right revision, though only after visually grepping the file's whole history for something labelled "release50".
Currently you can switch Node.java to branch release50. We may add a new action "View revision..." that would do the right thing, scheduling for 6.0 as this should be no big deal. It's a shame that cvs won't find the right revision if you type 'release50' in the search field, but we can do nothing about it. We also considered adding a Quick Search (full-text) search box that would also filter-out results in the view, this would also help in this case.
"Currently you can switch Node.java to branch release50." - yes, possible as a workaround, but a bit dangerous. I switch it to look at it in release50, then the phone rings and I need to work on something else for the rest of the day... a week later I make some minor patch to Node.java alongside other trunk sources and accidentally commit it to the release50 branch!
You can now view any revision of a file (or set of files) using CVS/View Revision menu action. /shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ui/history/ViewRevisionAction.java,v <-- ViewRevisionAction.java initial revision: 1.1 /shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ui/history/Bundle.properties,v <-- Bundle.properties new revision: 1.27; previous revision: 1.26 /shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ui/history/ViewRevisionPanel.java,v <-- ViewRevisionPanel.java initial 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.21; previous revision: 1.20 /shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ui/history/SummaryView.java,v <-- SummaryView.java new revision: 1.31; previous revision: 1.30 /shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ui/history/ViewRevisionPanel.form,v <-- ViewRevisionPanel.form initial revision: 1.1 /shared/data/ccvs/repository/javacvs/www/cvsmodule/develop/history.html,v <-- history.html new revision: 1.10; previous revision: 1.9 /shared/data/ccvs/repository/subversion/main/src/org/netbeans/modules/subversion/ui/history/SummaryView.java,v <-- SummaryView.java new revision: 1.11; previous revision: 1.10 /shared/data/ccvs/repository/subversion/main/src/org/netbeans/modules/subversion/ui/history/RevisionNode.java,v <-- RevisionNode.java new revision: 1.8; previous revision: 1.7 /shared/data/ccvs/repository/versioncontrol/src/org/netbeans/modules/versioning/util/Utils.java,v <-- Utils.java new revision: 1.19; previous revision: 1.18 /shared/data/ccvs/repository/versioncontrol/src/org/netbeans/modules/versioning/util/Bundle.properties,v <-- Bundle.properties new revision: 1.2; previous revision: 1.1 /shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/Bundle.properties,v <-- Bundle.properties new revision: 1.38; previous revision: 1.37 /shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/Annotator.java,v <-- Annotator.java new revision: 1.48; previous revision: 1.47