Show More
@@ -160,6 +160,11 b' class partialdiscovery(object):' | |||
|
160 | 160 | self._undecided = set(self._common.missingancestors(self._targetheads)) |
|
161 | 161 | return self._undecided |
|
162 | 162 | |
|
163 | def stats(self): | |
|
164 | return { | |
|
165 | 'undecided': len(self.undecided), | |
|
166 | } | |
|
167 | ||
|
163 | 168 | def commonheads(self): |
|
164 | 169 | """the heads of the known common set""" |
|
165 | 170 | # heads(common) == heads(common.bases) since common represents |
@@ -339,8 +344,10 b' def findcommonheads(ui, local, remote,' | |||
|
339 | 344 | |
|
340 | 345 | roundtrips += 1 |
|
341 | 346 | progress.update(roundtrips) |
|
347 | stats = disco.stats() | |
|
342 | 348 | ui.debug("query %i; still undecided: %i, sample size is: %i\n" |
|
343 |
% (roundtrips, |
|
|
349 | % (roundtrips, stats['undecided'], len(sample))) | |
|
350 | ||
|
344 | 351 | # indices between sample and externalized version must match |
|
345 | 352 | sample = list(sample) |
|
346 | 353 |
General Comments 0
You need to be logged in to leave comments.
Login now