obshashrange: log reset from new markers
authorPierre-Yves David <pierre-yves.david@octobus.net>
Tue, 16 May 2017 12:23:31 +0200
changeset 2383 d829841f4c8e
parent 2382 42092b9d6d25
child 2385 fab59e2cb05f
obshashrange: log reset from new markers This will help tracking performance impact from current limitation.
hgext3rd/evolve/obsdiscovery.py
--- a/hgext3rd/evolve/obsdiscovery.py	Tue May 16 12:18:46 2017 +0200
+++ b/hgext3rd/evolve/obsdiscovery.py	Tue May 16 12:23:31 2017 +0200
@@ -491,6 +491,8 @@
                 for p in l:
                     r = rev(p)
                     if r is not None and r not in setrevs:
+                        repo.ui.log('evoext-cache', ' obshashcache reset - '
+                                    'new markers affect cached ranges\n')
                         self.clear(reset=True)
                         break
                 else: