Mercurial > hg
diff mercurial/bookmarks.py @ 17826:46e1a4e24225
obsolete: rename `anysuccessors` into `allsuccessors`
The "any" prefix looks like it returned a boolean. `allsuccessors` is more
accurate.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Fri, 19 Oct 2012 00:30:11 +0200 |
parents | 5023027240a1 |
children | 612db9d7e76a |
line wrap: on
line diff
--- a/mercurial/bookmarks.py Fri Oct 19 00:28:13 2012 +0200 +++ b/mercurial/bookmarks.py Fri Oct 19 00:30:11 2012 +0200 @@ -266,7 +266,7 @@ for c in validdests: if c.phase() > phases.public: # obsolescence marker does not apply to public changeset - succs.update(obsolete.anysuccessors(repo.obsstore, + succs.update(obsolete.allsuccessors(repo.obsstore, c.node())) validdests = set(repo.set('%ln::', succs)) validdests.remove(old)