Changeset 42ddfe9162fa…
Parent eba352b8e43b…
by
Changes to one file · Browse files at 42ddfe9162fa Showing diff from parent eba352b8e43b Diff from another changeset...
@@ -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)
|
Loading...