D6467: doc: fix description of "predecessors" to match reality
joerg.sonnenberger (Joerg Sonnenberger)
phabricator at mercurial-scm.org
Fri May 31 23:26:50 UTC 2019
joerg.sonnenberger created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D6467
AFFECTED FILES
mercurial/templatekw.py
CHANGE DETAILS
diff --git a/mercurial/templatekw.py b/mercurial/templatekw.py
--- a/mercurial/templatekw.py
+++ b/mercurial/templatekw.py
@@ -572,7 +572,7 @@
@templatekeyword("predecessors", requires={'repo', 'ctx'})
def showpredecessors(context, mapping):
- """Returns the list of the closest visible successors. (EXPERIMENTAL)"""
+ """Returns the list of the closest visible predecessors. (EXPERIMENTAL)"""
repo = context.resource(mapping, 'repo')
ctx = context.resource(mapping, 'ctx')
predecessors = sorted(obsutil.closestpredecessors(repo, ctx.node()))
To: joerg.sonnenberger, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list