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.

View | Details | Raw Unified | Return to bug 127405
Collapse All | Expand All

(-)a/mercurial/src/org/netbeans/modules/mercurial/ui/diff/ExportDiffPanel.java (-1 / +5 lines)
Lines 84-90 public class ExportDiffPanel extends jav Link Here
84
    public String getSelectedRevision() {
84
    public String getSelectedRevision() {
85
        String revStr = (String) revisionsComboBox.getSelectedItem();
85
        String revStr = (String) revisionsComboBox.getSelectedItem();
86
        if (revStr != null) {
86
        if (revStr != null) {
87
            revStr = revStr.substring(0, revStr.indexOf(" ")); // NOI18N
87
            if (revStr.equals(NbBundle.getMessage(ExportDiffPanel.class, "MSG_Fetching_Revisions"))) { // NOI18N
88
                revStr = "tip"; // NOI18N
89
            } else {
90
                revStr = revStr.substring(0, revStr.indexOf(" ")); // NOI18N
91
            }
88
        }
92
        }
89
        return revStr;
93
        return revStr;
90
    }
94
    }

Return to bug 127405