doc: fix description of "predecessors" to match reality
authorJoerg Sonnenberger <joerg@bec.de>
Sat, 01 Jun 2019 01:24:49 +0200
changeset 42436 dc5bd66a8270
parent 42435 16312ea45a8b
child 42437 9609430d3625
doc: fix description of "predecessors" to match reality Differential Revision: https://phab.mercurial-scm.org/D6467
mercurial/templatekw.py
--- a/mercurial/templatekw.py	Sat Jun 08 18:48:06 2019 +0300
+++ b/mercurial/templatekw.py	Sat Jun 01 01:24:49 2019 +0200
@@ -573,7 +573,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()))