changeset 333:adeebf3b9ac3

merge with stable fix
author Pierre-Yves.David@ens-lyon.org
date Sat, 30 Jun 2012 03:25:25 +0200
parents b230da8bc498 (current diff) 36e2016d6563 (diff)
children aab826129142
files
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):