doc: fix description of "predecessors" to match reality
Differential Revision: https://phab.mercurial-scm.org/D6467
--- 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()))