obshashrange: improve message issued during discovery
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Fri, 24 Mar 2017 18:37:03 +0100
changeset 2242 128923ff68c8
parent 2241 88aace74b190
child 2243 d83851f2d375
obshashrange: improve message issued during discovery This is a minor new message that help to understand what is going on.
hgext3rd/evolve/obsdiscovery.py
--- a/hgext3rd/evolve/obsdiscovery.py	Fri Mar 24 18:28:01 2017 +0100
+++ b/hgext3rd/evolve/obsdiscovery.py	Fri Mar 24 18:37:03 2017 +0100
@@ -280,6 +280,8 @@
             overflow = sample[samplesize:]
             sample = sample[:samplesize]
         elif len(sample) < samplesize:
+            ui.debug("query %i; add more sample (target %i, current %i)\n"
+                     % (querycount, samplesize, len(sample)))
             # we need more sample !
             needed = samplesize - len(sample)
             sliceme = []