Mercurial > hg > mutable-history
changeset 332:36e2016d6563 stable
obsolete: public changeset are no longer latecomer.
They are plain duplicate.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Wed, 27 Jun 2012 17:21:24 +0200 |
parents | c2223b3f611a |
children | adeebf3b9ac3 fb83210bce32 |
files | hgext/obsolete.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/obsolete.py +++ b/hgext/obsolete.py @@ -893,7 +893,8 @@ @util.propertycache def _latecomerset(self): """the set of rev trying to obsolete public revision""" - return set(self.revs('allsuccessors(public()) - obsolete()')) + query = 'allsuccessors(public()) - obsolete() - public()' + return set(self.revs(query)) def _clearobsoletecache(self): if '_obsoleteset' in vars(self):