Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1, 2.1.1, and 2.1.2

cslist: adapt to recent API change in csinfo.py (fixes #332)

I changed csinfo in de47203d743b by adding ctx as a third parameter
to custom label functions and missed to update cslist.

Changeset 9ba2ff2d944a

Parent cb64d53534d7

by Adrian Buehlmann

Changes to one file · Browse files at 9ba2ff2d944a Showing diff from parent cb64d53534d7 Diff from another changeset...

 
81
82
83
84
 
85
86
 
87
88
89
 
81
82
83
 
84
85
 
86
87
88
89
@@ -81,9 +81,9 @@
  filename = os.path.basename(widget.target)   return filename, revid   raise csinfo.UnknownItem(item) - def labelfunc(widget, item): + def labelfunc(widget, item, ctx):   if item in ('item', 'item_l'): - if not isinstance(widget.ctx, patchctx): + if not isinstance(ctx, patchctx):   return _('Revision:')   return _('Patch:')   raise csinfo.UnknownItem(item)