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 125734
Collapse All | Expand All

(-)versioncontrol/mercurial/src/org/netbeans/modules/mercurial/ui/create/CreateAction.java (-1 / +2 lines)
Lines 59-64 Link Here
59
import org.netbeans.modules.mercurial.HgProgressSupport;
59
import org.netbeans.modules.mercurial.HgProgressSupport;
60
import org.netbeans.modules.mercurial.util.HgCommand;
60
import org.netbeans.modules.mercurial.util.HgCommand;
61
import org.netbeans.modules.mercurial.util.HgProjectUtils;
61
import org.netbeans.modules.mercurial.util.HgProjectUtils;
62
import org.netbeans.modules.mercurial.util.HgUtils;
62
import org.openide.util.RequestProcessor;
63
import org.openide.util.RequestProcessor;
63
import org.openide.DialogDisplayer;
64
import org.openide.DialogDisplayer;
64
import org.openide.NotifyDescriptor;
65
import org.openide.NotifyDescriptor;
Lines 218-224 Link Here
218
                        start = Calendar.getInstance(); cache.addToCache(repositoryFiles.keySet());
219
                        start = Calendar.getInstance(); cache.addToCache(repositoryFiles.keySet());
219
                        end = Calendar.getInstance();
220
                        end = Calendar.getInstance();
220
                        Mercurial.LOG.log(Level.FINE, "addUnknownsToCache took {0} millisecs", end.getTimeInMillis() - start.getTimeInMillis()); // NOI18N
221
                        Mercurial.LOG.log(Level.FINE, "addUnknownsToCache took {0} millisecs", end.getTimeInMillis() - start.getTimeInMillis()); // NOI18N
221
                        if (repositoryFiles.keySet().size() < 20) {
222
                        if (repositoryFiles.keySet().size() < HgUtils.MAX_LINES_TO_PRINT) {
222
                            for(File f: repositoryFiles.keySet()){
223
                            for(File f: repositoryFiles.keySet()){
223
                                HgUtils.outputMercurialTab("\t" + f.getAbsolutePath()); // NOI18N
224
                                HgUtils.outputMercurialTab("\t" + f.getAbsolutePath()); // NOI18N
224
                            }
225
                            }
(-)versioncontrol/mercurial/src/org/netbeans/modules/mercurial/util/HgUtils.java (-1 / +1 lines)
Lines 109-115 Link Here
109
    
109
    
110
    private static final String FILENAME_HGIGNORE = ".hgignore"; // NOI18N
110
    private static final String FILENAME_HGIGNORE = ".hgignore"; // NOI18N
111
111
112
    private static final int MAX_LINES_TO_PRINT = 500;
112
    public static final int MAX_LINES_TO_PRINT = 500;
113
113
114
    private static final String MSG_TOO_MANY_LINES = "The number of output lines is greater than 500; see message log for complete output";
114
    private static final String MSG_TOO_MANY_LINES = "The number of output lines is greater than 500; see message log for complete output";
115
115

Return to bug 125734