Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

backout: fix encoding issue

Changeset e8e53b26a702

Parent e859ae81c80a

by Yuki KODAMA

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

Change 1 of 1 Show Entire File hggtk/​backout.py Stacked
 
92
93
94
95
96
97
98
 
 
 
 
99
100
101
 
102
103
 
104
105
106
 
92
93
94
 
 
 
 
95
96
97
98
99
100
 
101
102
 
103
104
105
106
@@ -92,15 +92,15 @@
  summary = ctx.description().replace('\0', '')   summary = summary.split('\n')[0]   escape = gtklib.markup_escape_text - desc = '<b>' + _('rev') + '</b>\t\t: %s\n' % escape(revstr) - desc += '<b>' + _('summary') + '</b>\t: %s\n' % escape(summary[:80]) - desc += '<b>' + _('user') + '</b>\t\t: %s\n' % escape(ctx.user()) - desc += '<b>' + _('date') + '</b>\t\t: %s\n' % escape(hglib.displaytime(ctx.date())) + desc = '<b>' + hglib.fromutf(_('rev')) + '</b>\t\t: %s\n' % escape(revstr) + desc += '<b>' + hglib.fromutf(_('summary')) + '</b>\t: %s\n' % escape(summary[:80]) + desc += '<b>' + hglib.fromutf(_('user')) + '</b>\t\t: %s\n' % escape(ctx.user()) + desc += '<b>' + hglib.fromutf(_('date')) + '</b>\t\t: %s\n' % escape(hglib.displaytime(ctx.date()))   node = repo.lookup(revid)   tags = repo.nodetags(node) - desc += '<b>' + _('branch') + '</b>\t: ' + escape(ctx.branch()) + desc += '<b>' + hglib.fromutf(_('branch')) + '</b>\t: ' + escape(ctx.branch())   if tags: - desc += '\n<b>' + _('tags') + '</b>\t\t: ' + escape(', '.join(tags)) + desc += '\n<b>' + hglib.fromutf(_('tags')) + '</b>\t\t: ' + escape(', '.join(tags))   return hglib.toutf(desc)     def set_notify_func(self, func, *args):