--- a/mercurial/localrepo.py Mon Aug 27 09:37:49 2012 -0700
+++ b/mercurial/localrepo.py Tue Aug 28 20:52:04 2012 +0200
@@ -1042,6 +1042,7 @@
self._branchcache = None # in UTF-8
self._branchcachetip = None
+ obsolete.clearobscaches(self)
def invalidatedirstate(self):
'''Invalidates the dirstate, causing the next call to dirstate
@@ -2404,6 +2405,7 @@
self.ui.status(_("added %d changesets"
" with %d changes to %d files%s\n")
% (changesets, revisions, files, htext))
+ obsolete.clearobscaches(self)
if changesets > 0:
p = lambda: cl.writepending() and self.root or ""