comparison hgext/obsolete.py @ 351:4ecbaec1d664 stable 0.4.1

Ignore buggy marker in newerversion
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Tue, 10 Jul 2012 16:07:48 +0200
parents b836862d48b4
children 8feb73f733cb bd26eb9714fb
comparison
equal deleted inserted replaced
350:b836862d48b4 351:4ecbaec1d664
754 newer = set() 754 newer = set()
755 objectrels = repo.obsstore.precursors 755 objectrels = repo.obsstore.precursors
756 while toproceed: 756 while toproceed:
757 current = toproceed.pop() 757 current = toproceed.pop()
758 assert len(current) <= 1, 'splitting not handled yet. %r' % current 758 assert len(current) <= 1, 'splitting not handled yet. %r' % current
759 current = [n for n in current if n != nullid]
759 if current: 760 if current:
760 n, = current 761 n, = current
761 if n in objectrels: 762 if n in objectrels:
762 markers = objectrels[n] 763 markers = objectrels[n]
763 for mark in markers: 764 for mark in markers: