--- a/mercurial/localrepo.py Fri Mar 22 10:56:55 2013 -0700
+++ b/mercurial/localrepo.py Mon Mar 25 12:12:41 2013 -0500
@@ -1407,9 +1407,8 @@
# removed. We can either remove phasecache from the filecache,
# causing it to reload next time it is accessed, or simply filter
# the removed nodes now and write the updated cache.
- if '_phasecache' in self._filecache:
- self._phasecache.filterunknown(self)
- self._phasecache.write()
+ self._phasecache.filterunknown(self)
+ self._phasecache.write()
# update the 'served' branch cache to help read only server process
# Thanks to branchcache collaboration this is done from the nearest