Changeset 90809c4b2151…
Parent 6fb8c70dd82e…
by
Changes to one file · Browse files at 90809c4b2151 Showing diff from parent 6fb8c70dd82e Diff from another changeset...
@@ -290,7 +290,11 @@ ui.warn(_('Extdiff command not recognized\n'))
return
pats = hglib.canonpaths(pats)
- ret = extdiff.dodiff(ui, repo, diffcmd, diffopts, pats, opts)
+ try:
+ ret = extdiff.dodiff(ui, repo, diffcmd, diffopts, pats, opts)
+ except OSError, e:
+ ui.warn(str(e) + '\n')
+ return
if ret == 0:
gdialog.Prompt(_('No file changes'),
_('There are no file changes to view'), None).run()
|
Loading...