Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.3, 2.0.4, and 2.0.5

stable hgemail: use thgchangectx.longsummary() to parse msgs (fixes #422)

Changeset fbdfa3a724f0

Parent bf1d75637190

by Steve Borho

Changes to one file · Browse files at fbdfa3a724f0 Showing diff from parent bf1d75637190 Diff from another changeset...

 
357
358
359
360
 
361
362
363
 
387
388
389
390
 
391
392
393
 
357
358
359
 
360
361
362
363
 
387
388
389
 
390
391
392
393
@@ -357,7 +357,7 @@
  _COLUMNS = [('rev', lambda ctx: '%d:%s' % (ctx.rev(), ctx)),   ('author', lambda ctx: hglib.username(ctx.user())),   ('date', lambda ctx: util.shortdate(ctx.date())), - ('description', lambda ctx: ctx.description().splitlines()[0])] + ('description', lambda ctx: ctx.longsummary())]     def __init__(self, repo, revs, selectedrevs, parent=None):   super(_ChangesetsModel, self).__init__(parent) @@ -387,7 +387,7 @@
  return rev in self._selectedrevs and Qt.Checked or Qt.Unchecked   if role == Qt.DisplayRole:   coldata = self._COLUMNS[index.column()][1] - return QVariant(hglib.tounicode(coldata(self._repo[rev]))) + return QVariant(hglib.tounicode(coldata(self._repo.changectx(rev))))     return QVariant()