changeset 20204:b0c14c5d44b1

obsolete: improve allsuccessors doc string The fact original nodes are also yield is not obvious. We update the docstring to highlight it.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Mon, 23 Dec 2013 13:33:21 -0800
parents 509768fc7542
children d67a7758da6d
files mercurial/obsolete.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: