Mercurial > hg
diff mercurial/bookmarks.py @ 17827:612db9d7e76a
obsolete: have `allsuccessors` takes a list of nodes
Additional logic, used to detect mutable history troubles, will need to quickly
compute successors of a whole set of changeset.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Tue, 16 Oct 2012 15:49:58 +0200 |
parents | 46e1a4e24225 |
children | daf32ebfde6b |
line wrap: on
line diff
--- a/mercurial/bookmarks.py Fri Oct 19 00:30:11 2012 +0200 +++ b/mercurial/bookmarks.py Tue Oct 16 15:49:58 2012 +0200 @@ -267,7 +267,7 @@ if c.phase() > phases.public: # obsolescence marker does not apply to public changeset succs.update(obsolete.allsuccessors(repo.obsstore, - c.node())) + [c.node()])) validdests = set(repo.set('%ln::', succs)) validdests.remove(old) return new in validdests