changeset 2242:128923ff68c8

obshashrange: improve message issued during discovery This is a minor new message that help to understand what is going on.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Fri, 24 Mar 2017 18:37:03 +0100
parents 88aace74b190
children d83851f2d375
files hgext3rd/evolve/obsdiscovery.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 = []