Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8.1, 0.8.2, and 0.8.3

gdialog: do not raise util.Abort when edit returns rc != 0

Instead, we print a message to self.ui so the user could potentially
be notified. But mostly we fail silently.

Fixes #419

Changeset df783202e98c

Parent 26b80e1fb22c

by Steve Borho

Changes to one file · Browse files at df783202e98c Showing diff from parent 26b80e1fb22c Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​gdialog.py Stacked
 
502
503
504
505
 
506
507
508
 
502
503
504
 
505
506
507
508
@@ -502,7 +502,7 @@
  file_path = os.path.join(pathroot, file)   util.system("%s \"%s\"" % (editor, file_path),   environ={'HGUSER': self.ui.username()}, - onerr=util.Abort, errprefix=_('edit failed')) + onerr=self.ui, errprefix=_('edit failed'))     editor = (self.ui.config('tortoisehg', 'editor') or   self.ui.config('gtools', 'editor') or