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

stable chunks: catch IOError and OSError from patch application (closes #361)

Changeset 42ddfe9162fa

Parent eba352b8e43b

by Steve Borho

Changes to one file · Browse files at 42ddfe9162fa Showing diff from parent eba352b8e43b Diff from another changeset...

 
121
122
123
124
 
125
126
127
 
121
122
123
 
124
125
126
127
@@ -121,7 +121,7 @@
  if patch.applydiff(ui, fp, pfiles, eolmode=eolmode) < 0:   ok = False   self.showMessage.emit(_('Patch failed to apply')) - except patch.PatchError, err: + except (patch.PatchError, EnvironmentError), err:   ok = False   self.showMessage.emit(hglib.tounicode(str(err)))   os.chdir(curdir)