hidden: invalidate hiddenrevs when needed
The `hiddenrevs` cache is volatile too (It use content from `obscache`). When
unsure it is invalidated when necessary. In a near future, the cache will
probably be moved to `revsfiltercache`
--- a/mercurial/localrepo.py Tue Dec 18 02:04:37 2012 +0100
+++ b/mercurial/localrepo.py Tue Dec 18 01:51:08 2012 +0100
@@ -1106,6 +1106,8 @@
def invalidatevolatilesets(self):
self.filteredrevcache.clear()
obsolete.clearobscaches(self)
+ if 'hiddenrevs' in vars(self):
+ del self.hiddenrevs
def invalidatedirstate(self):
'''Invalidates the dirstate, causing the next call to dirstate