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

stable repomodel: use '8' character to calculate width of numerals

'8' is the widest numeral in most environments.

Changeset ba3fbcfbdc5f

Parent 160a5dcf07f6

by Yuya Nishihara

Changes to one file · Browse files at ba3fbcfbdc5f Showing diff from parent 160a5dcf07f6 Diff from another changeset...

 
230
231
232
233
 
234
235
 
236
237
238
 
230
231
232
 
233
234
 
235
236
237
238
@@ -230,9 +230,9 @@
  return 'XXXX'   column = self._columns[col]   if column == 'Rev': - return str(len(self.repo))+'X+' + return '8' * len(str(len(self.repo))) + '+'   if column == 'Node': - return str(self.repo['.']) + return '8' * 12 + '+'   if column in ('Age', 'LocalTime', 'UTCTime'):   return hglib.displaytime(util.makedate())   if column == 'Tags':