Comments
Patch
@@ -418,13 +418,11 @@ class histeditaction(object):
by default lines are in the form:
<hash> <rev> <summary>
"""
ctx = self.repo[self.node]
- summary = ''
- if ctx.description():
- summary = ctx.description().splitlines()[0]
+ summary = _getsummary(ctx)
line = '%s %s %d %s' % (self.verb, ctx, ctx.rev(), summary)
# trim to 75 columns by default so it's not stupidly wide in my editor
# (the 5 more are left for verb)
maxlen = self.repo.ui.configint('histedit', 'linelen', default=80)
maxlen = max(maxlen, 22) # avoid truncating hash