changeset 2202:5f8a2604bb2b

findmissingrange: fix reversed value in debug output "oops"
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Thu, 23 Mar 2017 10:06:20 +0100
parents 8d371329e8b9
children 8a2e1f6e5443
files hgext3rd/evolve/obsdiscovery.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 = []