Patchwork D6467: doc: fix description of "predecessors" to match reality

login
register
mail settings
Submitter phabricator
Date June 10, 2019, 2:56 p.m.
Message ID <9d4958b289371ef1584ce1bebbff003b@localhost.localdomain>
Download mbox | patch
Permalink /patch/40399/
State Not Applicable
Headers show

Comments

phabricator - June 10, 2019, 2:56 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGdc5bd66a8270: doc: fix description of &quot;predecessors&quot; to match reality (authored by joerg.sonnenberger, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6467?vs=15315&id=15416

REVISION DETAIL
  https://phab.mercurial-scm.org/D6467

AFFECTED FILES
  mercurial/templatekw.py

CHANGE DETAILS




To: joerg.sonnenberger, #hg-reviewers, av6, pulkit
Cc: av6, mercurial-devel

Patch

diff --git a/mercurial/templatekw.py b/mercurial/templatekw.py
--- a/mercurial/templatekw.py
+++ b/mercurial/templatekw.py
@@ -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()))