# HG changeset patch # User Pierre-Yves David # Date 1493739852 -7200 # Node ID a786240c95bd30937d2b4e33feb01fbb2cf4e3f8 # Parent 2f15090712fe550273bb526e2c86950d5d9badc1 obscache: log case where the cache is not up to date This will help track performance issue diff -r 2f15090712fe -r a786240c95bd hgext3rd/evolve/obscache.py --- a/hgext3rd/evolve/obscache.py Tue May 02 16:13:04 2017 +0200 +++ b/hgext3rd/evolve/obscache.py Tue May 02 17:44:12 2017 +0200 @@ -335,6 +335,10 @@ # will be about as fast.. if not obscache.uptodate(repo): if repo.currenttransaction() is None: + repo.ui.log('evoext-obscache', + 'obscache is out of date, ' + 'falling back to slower obsstore version\n') + repo.ui.debug('obscache is out of date') return orig(repo) else: # If a transaction is open, it is worthwhile to update and use the