template: fix precursors documentation
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 16 Jun 2017 17:14:11 +0200
changeset 2600 e987b403d047
parent 2599 df4a1b02308f
child 2601 20c1e035101b
template: fix precursors documentation
hgext3rd/evolve/templatekw.py
--- a/hgext3rd/evolve/templatekw.py	Fri Jun 16 17:11:20 2017 +0200
+++ b/hgext3rd/evolve/templatekw.py	Fri Jun 16 17:14:11 2017 +0200
@@ -65,8 +65,7 @@
 
 @eh.templatekw("precursors")
 def shownextvisibleprecursors(repo, ctx, **args):
-    """Returns a string containing the list if the closest successors
-    displayed
+    """Returns a string containing the list of the closest precursors
     """
     precursors = sorted(closestprecursors(repo, ctx.node()))
     precursors = [node.hex(p) for p in precursors]