author | Pierre-Yves.David@ens-lyon.org |
Sat, 30 Jun 2012 03:25:25 +0200 | |
changeset 333 | adeebf3b9ac3 |
parent 331 | b230da8bc498 (current diff) |
parent 332 | 36e2016d6563 (diff) |
child 342 | aab826129142 |
--- a/hgext/obsolete.py Wed Jun 27 15:29:25 2012 +0200 +++ b/hgext/obsolete.py Sat Jun 30 03:25:25 2012 +0200 @@ -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):