# HG changeset patch # User Pierre-Yves David # Date 1442347923 25200 # Node ID 077f20eed4b2ce3908aadd796c771d9ed8ab4af7 # Parent ac4ed8d6ec50e6fe4ca5a6ab31cbb28962b81994 obsolete: clarify that 'successorssets' returns the latest successors We do not return the first successors we found, we returns the latest (non obsolete (mostly)) one following the obsolete link transitively. We update the documentation to make this clean. diff -r ac4ed8d6ec50 -r 077f20eed4b2 mercurial/obsolete.py --- a/mercurial/obsolete.py Tue Sep 15 13:10:25 2015 -0700 +++ b/mercurial/obsolete.py Tue Sep 15 13:12:03 2015 -0700 @@ -841,7 +841,7 @@ def successorssets(repo, initialnode, cache=None): - """Return all set of successors of initial nodes + """Return set of all latest successors of initial nodes The successors set of a changeset A are the group of revisions that succeed A. It succeeds A as a consistent whole, each revision being only a partial