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

stable fileview: catch Abort while checking for binary file (fixes #661)

Changeset 2ef9eb32d886

Parent 628535eb0aee

by Steve Borho

Changes to one file · Browse files at 2ef9eb32d886 Showing diff from parent 628535eb0aee Diff from another changeset...

 
552
553
554
555
 
556
557
558
 
552
553
554
 
555
556
557
558
@@ -552,7 +552,7 @@
  if '\0' in data:   self.error = p + _('File is binary.\n')   return None - except EnvironmentError, e: + except (EnvironmentError, util.Abort), e:   self.error = p + hglib.tounicode(str(e))   return None   return fctx, data