Show More
@@ -525,12 +525,9 b' class histeditaction(object):' | |||
|
525 | 525 | """ |
|
526 | 526 | ctx = self.repo[self.node] |
|
527 | 527 | ui = self.repo.ui |
|
528 | summary = ( | |
|
529 | cmdutil.rendertemplate( | |
|
528 | summary = cmdutil.rendertemplate( | |
|
530 | 529 |
|
|
531 | 530 |
|
|
532 | or b'' | |
|
533 | ) | |
|
534 | 531 | summary = summary.splitlines()[0] |
|
535 | 532 | line = b'%s %s %s' % (self.verb, ctx, summary) |
|
536 | 533 | # trim to 75 columns by default so it's not stupidly wide in my editor |
@@ -1152,12 +1149,9 b' class histeditrule(object):' | |||
|
1152 | 1149 | |
|
1153 | 1150 | @util.propertycache |
|
1154 | 1151 | def desc(self): |
|
1155 | summary = ( | |
|
1156 | cmdutil.rendertemplate( | |
|
1152 | summary = cmdutil.rendertemplate( | |
|
1157 | 1153 |
|
|
1158 | 1154 |
|
|
1159 | or b'' | |
|
1160 | ) | |
|
1161 | 1155 | if summary: |
|
1162 | 1156 | return summary |
|
1163 | 1157 | # This is split off from the prefix property so that we can |
General Comments 0
You need to be logged in to leave comments.
Login now