changeset 460:19bba3c91246 stable

obsolete: filter out nullid from possible successors This have several bad effect as wrong late comer detection.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Tue, 21 Aug 2012 02:36:33 +0200
parents 37cba4324ccf
children cd43fd9f923f 5c031e1c90e2
files hgext/obsolete.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)