--- a/mercurial/setdiscovery.py Thu Oct 10 04:48:31 2019 +0200
+++ b/mercurial/setdiscovery.py Thu Oct 10 11:33:33 2019 +0200
@@ -176,7 +176,7 @@
def stats(self):
return {
- b'undecided': len(self.undecided),
+ 'undecided': len(self.undecided),
}
def commonheads(self):
@@ -441,7 +441,7 @@
stats = disco.stats()
ui.debug(
b"query %i; still undecided: %i, sample size is: %i\n"
- % (roundtrips, stats[b'undecided'], len(sample))
+ % (roundtrips, stats['undecided'], len(sample))
)
# indices between sample and externalized version must match