obsolete: filter out nullid from possible successors stable
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Tue, 21 Aug 2012 02:36:33 +0200
branchstable
changeset 460 19bba3c91246
parent 426 37cba4324ccf
child 461 cd43fd9f923f
child 474 5c031e1c90e2
obsolete: filter out nullid from possible successors This have several bad effect as wrong late comer detection.
hgext/obsolete.py
--- a/hgext/obsolete.py	Mon Aug 06 19:31:52 2012 +0200
+++ b/hgext/obsolete.py	Tue Aug 21 02:36:33 2012 +0200
@@ -274,6 +274,8 @@
         nc = toproceed.pop()
         for mark in allobjects.get(nc, ()):
             for sub in mark[1]:
+                if sub == nullid:
+                    continue # should not be here!
                 if sub not in seen:
                     seen.add(sub)
                     toproceed.append(sub)