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

status, datamine: loosen up line length restriction

from 128 to 512. It seems it's not too uncommon to have files consistenly 200
chars wide.

Changeset 89d526d0e793

Parent bad263cdd8b6

by Steve Borho

Changes to 2 files · Browse files at 89d526d0e793 Showing diff from parent bad263cdd8b6 Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​datamine.py Stacked
 
382
383
384
385
 
386
387
388
 
700
701
702
703
 
704
705
706
 
382
383
384
 
385
386
387
388
 
700
701
702
 
703
704
705
706
@@ -382,7 +382,7 @@
  tip, user = self.get_rev_desc(long(revid))   if self.tabwidth:   text = text.expandtabs(self.tabwidth) - model.append((revid, toutf(text[:128]), tip, toutf(path))) + model.append((revid, toutf(text[:512]), tip, toutf(path)))   if thread.isAlive():   return True   else: @@ -700,7 +700,7 @@
  color = colormap.get_color(ctx, curdate)   if self.tabwidth:   text = text.expandtabs(self.tabwidth) - model.append((revid, toutf(text[:128]), tip, toutf(path.strip()), + model.append((revid, toutf(text[:512]), tip, toutf(path.strip()),   color, user, len(model)+1))   if thread.isAlive():   return True
Change 1 of 2 Show Entire File hggtk/​status.py Stacked
 
42
43
44
45
 
46
47
48
 
62
63
64
65
 
66
67
68
 
42
43
44
 
45
46
47
48
 
62
63
64
 
65
66
67
68
@@ -42,7 +42,7 @@
  hunk = ""   lines = text.splitlines()   for line in lines: - line = gobject.markup_escape_text(hglib.toutf(line[:128])) + line = gobject.markup_escape_text(hglib.toutf(line[:512]))   if line[-1] != '\n':   line += '\n'   if line.startswith('---') or line.startswith('+++'): @@ -62,7 +62,7 @@
  hunk = ""   lines = text.splitlines()   for line in lines: - line = gobject.markup_escape_text(hglib.toutf(line[:128])) + line = gobject.markup_escape_text(hglib.toutf(line[:512]))   if line[-1] != '\n':   line += '\n'   hunk += line