# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. Index: versioncontrol/mercurial/src/org/netbeans/modules/mercurial/ui/create/CreateAction.java --- versioncontrol/mercurial/src/org/netbeans/modules/mercurial/ui/create/CreateAction.java Base (1.13) +++ versioncontrol/mercurial/src/org/netbeans/modules/mercurial/ui/create/CreateAction.java Locally Modified (Based On 1.13) @@ -59,6 +59,7 @@ import org.netbeans.modules.mercurial.HgProgressSupport; import org.netbeans.modules.mercurial.util.HgCommand; import org.netbeans.modules.mercurial.util.HgProjectUtils; +import org.netbeans.modules.mercurial.util.HgUtils; import org.openide.util.RequestProcessor; import org.openide.DialogDisplayer; import org.openide.NotifyDescriptor; @@ -218,7 +219,7 @@ start = Calendar.getInstance(); cache.addToCache(repositoryFiles.keySet()); end = Calendar.getInstance(); Mercurial.LOG.log(Level.FINE, "addUnknownsToCache took {0} millisecs", end.getTimeInMillis() - start.getTimeInMillis()); // NOI18N - if (repositoryFiles.keySet().size() < 20) { + if (repositoryFiles.keySet().size() < HgUtils.MAX_LINES_TO_PRINT) { for(File f: repositoryFiles.keySet()){ HgUtils.outputMercurialTab("\t" + f.getAbsolutePath()); // NOI18N } Index: versioncontrol/mercurial/src/org/netbeans/modules/mercurial/util/HgUtils.java --- versioncontrol/mercurial/src/org/netbeans/modules/mercurial/util/HgUtils.java Base (1.27) +++ versioncontrol/mercurial/src/org/netbeans/modules/mercurial/util/HgUtils.java Locally Modified (Based On 1.27) @@ -109,7 +109,7 @@ private static final String FILENAME_HGIGNORE = ".hgignore"; // NOI18N - private static final int MAX_LINES_TO_PRINT = 500; + public static final int MAX_LINES_TO_PRINT = 500; private static final String MSG_TOO_MANY_LINES = "The number of output lines is greater than 500; see message log for complete output";