Show More
@@ -525,11 +525,8 b' class histeditaction(object):' | |||
|
525 | 525 | """ |
|
526 | 526 | ctx = self.repo[self.node] |
|
527 | 527 | ui = self.repo.ui |
|
528 | summary = ( | |
|
529 | cmdutil.rendertemplate( | |
|
530 | ctx, ui.config(b'histedit', b'summary-template') | |
|
531 | ) | |
|
532 | or b'' | |
|
528 | summary = cmdutil.rendertemplate( | |
|
529 | ctx, ui.config(b'histedit', b'summary-template') | |
|
533 | 530 | ) |
|
534 | 531 | summary = summary.splitlines()[0] |
|
535 | 532 | line = b'%s %s %s' % (self.verb, ctx, summary) |
@@ -1152,11 +1149,8 b' class histeditrule(object):' | |||
|
1152 | 1149 | |
|
1153 | 1150 | @util.propertycache |
|
1154 | 1151 | def desc(self): |
|
1155 | summary = ( | |
|
1156 | cmdutil.rendertemplate( | |
|
1157 | self.ctx, self.ui.config(b'histedit', b'summary-template') | |
|
1158 | ) | |
|
1159 | or b'' | |
|
1152 | summary = cmdutil.rendertemplate( | |
|
1153 | self.ctx, self.ui.config(b'histedit', b'summary-template') | |
|
1160 | 1154 | ) |
|
1161 | 1155 | if summary: |
|
1162 | 1156 | return summary |
General Comments 0
You need to be logged in to leave comments.
Login now