Show More
@@ -176,7 +176,7 b' class partialdiscovery(object):' | |||||
176 |
|
176 | |||
177 | def stats(self): |
|
177 | def stats(self): | |
178 | return { |
|
178 | return { | |
179 |
|
|
179 | 'undecided': len(self.undecided), | |
180 | } |
|
180 | } | |
181 |
|
181 | |||
182 | def commonheads(self): |
|
182 | def commonheads(self): | |
@@ -441,7 +441,7 b' def findcommonheads(' | |||||
441 | stats = disco.stats() |
|
441 | stats = disco.stats() | |
442 | ui.debug( |
|
442 | ui.debug( | |
443 | b"query %i; still undecided: %i, sample size is: %i\n" |
|
443 | b"query %i; still undecided: %i, sample size is: %i\n" | |
444 |
% (roundtrips, stats[ |
|
444 | % (roundtrips, stats['undecided'], len(sample)) | |
445 | ) |
|
445 | ) | |
446 |
|
446 | |||
447 | # indices between sample and externalized version must match |
|
447 | # indices between sample and externalized version must match |
General Comments 0
You need to be logged in to leave comments.
Login now