changeset 26265:077f20eed4b2

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.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 15 Sep 2015 13:12:03 -0700
parents ac4ed8d6ec50
children 1e042e31bd0c
files mercurial/obsolete.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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