comparison src/org/tmatesoft/hg/repo/HgStatusCollector.java @ 303:2ffcbf360fd5

Remove debug printout
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Tue, 20 Sep 2011 04:43:39 +0200
parents a7a3395a519e
children ee6b467c1a5f
comparison
equal deleted inserted replaced
302:a7a3395a519e 303:2ffcbf360fd5
104 // there would be maxRev-minRev+1 revisions visited. For example, 104 // there would be maxRev-minRev+1 revisions visited. For example,
105 // check cpython repo with 'hg log -r 22418:22420 --debug' and admire 105 // check cpython repo with 'hg log -r 22418:22420 --debug' and admire
106 // manifest revisions 66650, 21683, 21684. Thus, innocent walk(22418,22420) results in 40k+ revisions and OOME 106 // manifest revisions 66650, 21683, 21684. Thus, innocent walk(22418,22420) results in 40k+ revisions and OOME
107 // Instead, be explicit of what revisions are of interest 107 // Instead, be explicit of what revisions are of interest
108 assert minRev <= maxRev; 108 assert minRev <= maxRev;
109 if (maxRev == 22420) {
110 System.out.println();
111 }
112 int[] revisionsToCollect = new int[maxRev - minRev + 1]; 109 int[] revisionsToCollect = new int[maxRev - minRev + 1];
113 for (int x = minRev, i = 0; x <= maxRev; i++, x++) { 110 for (int x = minRev, i = 0; x <= maxRev; i++, x++) {
114 revisionsToCollect[i] = x; 111 revisionsToCollect[i] = x;
115 } 112 }
116 repo.getManifest().walk(new HgManifest.Inspector2() { 113 repo.getManifest().walk(new HgManifest.Inspector2() {