changeset 42452:dc5bd66a8270

doc: fix description of "predecessors" to match reality Differential Revision: https://phab.mercurial-scm.org/D6467
author Joerg Sonnenberger <joerg@bec.de>
date Sat, 01 Jun 2019 01:24:49 +0200
parents 16312ea45a8b
children 9609430d3625
files mercurial/templatekw.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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()))