Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0, 2.0.1, and 2.0.2

stable utils: Add "..." to rev or patch summaries when description spans multiple lines

This is only done when the tortoisehg longsummary option is not enabled.

Changeset 4c5d5c7cb9e1

Parent bb0a354e034c

by Angel Ezquerra

Changes to 2 files · Browse files at 4c5d5c7cb9e1 Showing diff from parent bb0a354e034c Diff from another changeset...

 
550
551
552
 
 
 
 
553
554
555
 
550
551
552
553
554
555
556
557
558
559
@@ -550,6 +550,10 @@
  else:   lines = summary.splitlines()   summary = lines and lines[0] or '' + + if summary and len(lines) > 1: + summary += '...' +   return summary     return thgchangectx
 
137
138
139
 
 
 
 
140
141
142
 
137
138
139
140
141
142
143
144
145
146
@@ -137,6 +137,10 @@
  else:   lines = summary.splitlines()   summary = lines and lines[0] or '' + + if summary and len(lines) > 1: + summary += '...' +   return summary     def changesToParent(self, whichparent):