changeset 2383:d829841f4c8e

obshashrange: log reset from new markers This will help tracking performance impact from current limitation.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 16 May 2017 12:23:31 +0200
parents 42092b9d6d25
children fab59e2cb05f
files hgext3rd/evolve/obsdiscovery.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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: