mercurial/dagop.py
changeset 42445 3e42fc243741
parent 42057 566daffc607d
child 42446 055c3e2c44f0
--- a/mercurial/dagop.py	Tue Jun 11 19:52:16 2019 +0100
+++ b/mercurial/dagop.py	Mon Jun 10 11:40:43 2019 -0400
@@ -260,9 +260,7 @@
                 break
 
 def _reachablerootspure(repo, minroot, roots, heads, includepath):
-    """return (heads(::<roots> and ::<heads>))
-
-    If includepath is True, return (<roots>::<heads>)."""
+    """See reachableroots"""
     if not roots:
         return []
     parentrevs = repo.changelog.parentrevs
@@ -298,7 +296,7 @@
     return reachable
 
 def reachableroots(repo, roots, heads, includepath=False):
-    """return (heads(::<roots> and ::<heads>))
+    """return (heads(::<roots> and <roots>::<heads>))
 
     If includepath is True, return (<roots>::<heads>)."""
     if not roots: