# HG changeset patch # User Pierre-Yves David # Date 1348180222 -7200 # Node ID 811a657fae4899ca469a18331ccf862f8732aa25 # Parent 2d750e885512aefa7a5b0f699cdb26fe7cfd015f histedit document the makedest function diff -r 2d750e885512 -r 811a657fae48 hgext/histedit.py --- 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 + """ summary = '' if c.description(): summary = c.description().splitlines()[0]