findmissingrange: fix reversed value in debug output
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Thu, 23 Mar 2017 10:06:20 +0100
changeset 2202 5f8a2604bb2b
parent 2201 8d371329e8b9
child 2203 8a2e1f6e5443
findmissingrange: fix reversed value in debug output "oops"
hgext3rd/evolve/obsdiscovery.py
--- a/hgext3rd/evolve/obsdiscovery.py	Wed Mar 22 22:05:30 2017 +0100
+++ b/hgext3rd/evolve/obsdiscovery.py	Thu Mar 23 10:06:20 2017 +0100
@@ -302,7 +302,7 @@
         nbsample = len(sample)
         maxsize = max([rangelength(local, r) for r in sample])
         ui.debug("query %i; sample size is %i, largest range %i\n"
-                 % (querycount, maxsize, nbsample))
+                 % (querycount, nbsample, maxsize))
         nbreplies = 0
         replies = list(_queryrange(ui, local, remote, sample))
         sample = []