mercurial/obsolete.py
changeset 17826 46e1a4e24225
parent 17825 3cc06457f15e
child 17827 612db9d7e76a
equal deleted inserted replaced
17825:3cc06457f15e 17826:46e1a4e24225
   349 def successormarkers(ctx):
   349 def successormarkers(ctx):
   350     """obsolete marker making this changeset obsolete"""
   350     """obsolete marker making this changeset obsolete"""
   351     for data in ctx._repo.obsstore.successors.get(ctx.node(), ()):
   351     for data in ctx._repo.obsstore.successors.get(ctx.node(), ()):
   352         yield marker(ctx._repo, data)
   352         yield marker(ctx._repo, data)
   353 
   353 
   354 def anysuccessors(obsstore, node):
   354 def allsuccessors(obsstore, node):
   355     """Yield every successor of <node>
   355     """Yield every successor of <node>
   356 
   356 
   357     This is a linear yield unsuited to detecting split changesets."""
   357     This is a linear yield unsuited to detecting split changesets."""
   358     remaining = set([node])
   358     remaining = set([node])
   359     seen = set(remaining)
   359     seen = set(remaining)