diff mercurial/templatekw.py @ 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 0c72eddb4be5
children 88ba0ff94605
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()))