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

0.7.5 datamine: truncate treeview text data at 128 chars

Fixes #128

Changeset a88261eec1f4

Parent b5d6b46c0a2e

by Steve Borho

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

Change 1 of 2 Show Entire File hggtk/​datamine.py Stacked
 
330
331
332
333
 
334
335
336
 
616
617
618
619
 
620
621
622
 
330
331
332
 
333
334
335
336
 
616
617
618
 
619
620
621
622
@@ -330,7 +330,7 @@
  tip, user = self.get_rev_desc(long(revid))   if self.tabwidth:   text = text.expandtabs(self.tabwidth) - model.append((revid, toutf(text), tip, toutf(path))) + model.append((revid, toutf(text[:128]), tip, toutf(path)))   if thread.isAlive():   return True   else: @@ -616,7 +616,7 @@
  color = colormap.get_color(ctx, curdate)   if self.tabwidth:   text = text.expandtabs(self.tabwidth) - model.append((revid, toutf(text), tip, toutf(path.strip()), + model.append((revid, toutf(text[:128]), tip, toutf(path.strip()),   color, toutf(user), len(model)+1))   if thread.isAlive():   return True