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

filedata: fix crash when selecting untracked file over maxdiff size

Crash was introduced in 9c713e8fe3b1.

Changeset 774d4419f199

Parent 1c563de29bf3

by Phil Currier

Changes to one file · Browse files at 774d4419f199 Showing diff from parent 1c563de29bf3 Diff from another changeset...

 
273
274
275
 
276
277
278
 
273
274
275
276
277
278
279
@@ -273,6 +273,7 @@
  self.flabel += _(' <i>(is unversioned)</i>')   if os.path.getsize(absfile) > maxdiff:   self.error = mde + return   else:   data = util.posixfile(absfile, 'r').read()   else: