obsolete: improve allsuccessors doc string
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Mon, 23 Dec 2013 13:33:21 -0800
changeset 20204 b0c14c5d44b1
parent 20203 509768fc7542
child 20205 d67a7758da6d
obsolete: improve allsuccessors doc string The fact original nodes are also yield is not obvious. We update the docstring to highlight it.
mercurial/obsolete.py
--- a/mercurial/obsolete.py	Mon Dec 23 13:32:03 2013 -0800
+++ b/mercurial/obsolete.py	Mon Dec 23 13:33:21 2013 -0800
@@ -440,7 +440,8 @@
 
     Some successors may be unknown locally.
 
-    This is a linear yield unsuited to detecting split changesets."""
+    This is a linear yield unsuited to detecting split changesets. It includes
+    initial nodes too."""
     remaining = set(nodes)
     seen = set(remaining)
     while remaining: