changeset 2601:20c1e035101b

template: update successors doc I'm not very happy about it, but at lease there is a show description now
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 16 Jun 2017 17:16:26 +0200
parents e987b403d047
children 31d3be16e65c
files hgext3rd/evolve/templatekw.py
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 ''