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 |
} |