diff --git a/mercurial/dagop.py b/mercurial/dagop.py --- a/mercurial/dagop.py +++ b/mercurial/dagop.py @@ -260,9 +260,7 @@ break def _reachablerootspure(repo, minroot, roots, heads, includepath): - """return (heads(:: and ::)) - - If includepath is True, return (::).""" + """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(:: and ::)) + """return (heads(:: and ::)) If includepath is True, return (::).""" if not roots: