Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

repomodel: show only the name in the author column

Changeset cdd7989cc564

Parent 1a97ea93f9a9

by David Wilhelm

Changes to one file · Browse files at cdd7989cc564 Showing diff from parent 1a97ea93f9a9 Diff from another changeset...

 
14
15
16
17
 
18
19
20
 
80
81
82
83
 
 
84
85
86
 
14
15
16
 
17
18
19
20
 
80
81
82
 
83
84
85
86
87
@@ -14,7 +14,7 @@
 # this program; if not, write to the Free Software Foundation, Inc.,  # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.   -from mercurial import util, error +from mercurial import util, error, templatefilters    from tortoisehg.util.util import tounicode, Curry   @@ -80,7 +80,8 @@
 # in following lambdas, ctx is a hg changectx  _columnmap = {'ID': lambda model, ctx, gnode: ctx.rev() is not None and str(ctx.rev()) or "",   'Log': getlog, - 'Author': lambda model, ctx, gnode: tounicode(ctx.user()), + 'Author': lambda model, ctx, gnode: tounicode( + templatefilters.person(ctx.user())),   'Date': lambda model, ctx, gnode: cvrt_date(ctx.date()),   'Tags': gettags,   'Branch': lambda model, ctx, gnode: ctx.branch(),