Show More
@@ -533,7 +533,8 b' class histeditaction(object):' | |||||
533 | summary = cmdutil.rendertemplate( |
|
533 | summary = cmdutil.rendertemplate( | |
534 | ctx, ui.config(b'histedit', b'summary-template') |
|
534 | ctx, ui.config(b'histedit', b'summary-template') | |
535 | ) |
|
535 | ) | |
536 | summary = summary.splitlines()[0] |
|
536 | # Handle the fact that `''.splitlines() => []` | |
|
537 | summary = summary.splitlines()[0] if summary else b'' | |||
537 | line = b'%s %s %s' % (self.verb, ctx, summary) |
|
538 | line = b'%s %s %s' % (self.verb, ctx, summary) | |
538 | # trim to 75 columns by default so it's not stupidly wide in my editor |
|
539 | # trim to 75 columns by default so it's not stupidly wide in my editor | |
539 | # (the 5 more are left for verb) |
|
540 | # (the 5 more are left for verb) |
General Comments 0
You need to be logged in to leave comments.
Login now