1. Dan Villiom Podlaski Christiansen
  2. mutable-history

Commits

Pierre-Yves David  committed 19bba3c

obsolete: filter out nullid from possible successors

This have several bad effect as wrong late comer detection.

  • Participants
  • Parent commits 37cba43
  • Branches stable

Comments (0)

Files changed (1)

File hgext/obsolete.py

View file
  • Ignore whitespace
         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)