Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

stable status: perform max-diff size check for "Text Diff" pane

Refs #897

Changeset 84306567956d

Parent e85f55e53828

by Steve Borho

Changes to one file · Browse files at 84306567956d Showing diff from parent e85f55e53828 Diff from another changeset...

 
1120
1121
1122
 
 
 
1123
1124
1125
 
1120
1121
1122
1123
1124
1125
1126
1127
1128
@@ -1120,6 +1120,9 @@
  def generate_text_diffs(self, row):   wfile = self.filemodel[row][FM_PATH]   pfile = util.pconvert(wfile) + lines = self.check_max_diff(pfile) + if lines: + return self.diff_highlight_buffer(lines)   matcher = cmdutil.matchfiles(self.repo, [pfile])   opts = patch.diffopts(self.ui, self.opts)   opts.git = True