Mercurial > hg
diff mercurial/obsolete.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 | 3cc06457f15e |
children | 612db9d7e76a |
line wrap: on
line diff
--- a/mercurial/obsolete.py Fri Oct 19 00:28:13 2012 +0200 +++ b/mercurial/obsolete.py Fri Oct 19 00:30:11 2012 +0200 @@ -351,7 +351,7 @@ for data in ctx._repo.obsstore.successors.get(ctx.node(), ()): yield marker(ctx._repo, data) -def anysuccessors(obsstore, node): +def allsuccessors(obsstore, node): """Yield every successor of <node> This is a linear yield unsuited to detecting split changesets."""