Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 18811:0377352eb7d3
merge with stable
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Mon, 25 Mar 2013 12:12:41 -0500 |
parents | 70e2a22fd66e 1c8e0d6ac3b0 |
children | e75b72fffdfe |
line wrap: on
line diff
--- 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