Mercurial > public > mercurial-scm > hg
diff mercurial/localrepo.py @ 15456:abcaaf51d568
phases: handle unknown nodes in boundary
We filter unknown node out of the boundary. No data is lost. A
filtering is explicitly done after strip too
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Mon, 07 Nov 2011 13:20:22 +0100 |
parents | c6f87bdab2a1 |
children | 9ae766f2f452 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Mon Nov 07 12:27:25 2011 +0100 +++ b/mercurial/localrepo.py Mon Nov 07 13:20:22 2011 +0100 @@ -174,7 +174,9 @@ @filecache('phaseroots') def _phaseroots(self): self._dirtyphases = False - return phases.readroots(self) + phaseroots = phases.readroots(self) + phases.filterunknown(self, phaseroots) + return phaseroots @propertycache def _phaserev(self):