changeset 17641:811a657fae48

histedit document the makedest function
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Fri, 21 Sep 2012 00:30:22 +0200
parents 2d750e885512
children bea381c16809
files hgext/histedit.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/histedit.py	Fri Sep 21 00:30:07 2012 +0200
+++ b/hgext/histedit.py	Fri Sep 21 00:30:22 2012 +0200
@@ -306,6 +306,12 @@
 
 
 def makedesc(c):
+    """build a initial action line for a ctx `c`
+
+    line are in the form:
+
+      pick <hash> <rev> <summary>
+    """
     summary = ''
     if c.description():
         summary = c.description().splitlines()[0]