template: update successors doc
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 16 Jun 2017 17:16:26 +0200
changeset 2601 20c1e035101b
parent 2600 e987b403d047
child 2602 31d3be16e65c
template: update successors doc I'm not very happy about it, but at lease there is a show description now
hgext3rd/evolve/templatekw.py
--- a/hgext3rd/evolve/templatekw.py	Fri Jun 16 17:14:11 2017 +0200
+++ b/hgext3rd/evolve/templatekw.py	Fri Jun 16 17:16:26 2017 +0200
@@ -85,9 +85,10 @@
 
 @eh.templatekw("successors")
 def shownextvisiblesuccessors(repo, ctx, templ, **args):
-    """Returns a string of sets of successors for a changectx in this format:
-    [ctx1, ctx2], [ctx3] if ctx has been splitted into ctx1 and ctx2 while
-    also diverged into ctx3"""
+    """Returns a string of sets of successors for a changectx
+
+    Format used is: [ctx1, ctx2], [ctx3] if ctx has been splitted into ctx1 and
+    ctx2 while also diverged into ctx3"""
     if not ctx.obsolete():
         return ''