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

commit: raising util.Abort() is redundant

so is returning 0

Changeset ba5af6808ce3

Parent c66709518284

by Steve Borho

Changes to one file · Browse files at ba5af6808ce3 Showing diff from parent c66709518284 Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​commit.py Stacked
 
473
474
475
476
 
477
478
479
 
488
489
490
491
 
492
493
494
 
473
474
475
 
476
477
478
479
 
488
489
490
 
491
492
493
494
@@ -473,7 +473,7 @@
  else:   gdialog.Prompt(_('Commit'),   _('Unable to apply patch'), self).run() - raise util.Abort(_('patch failed to apply')) + return   del fp     # 4. We prepared working directory according to filtered patch. @@ -488,7 +488,7 @@
  finally:   os.chdir(cwd)   - return 0 + return   finally:   # 5. finally restore backed-up files   try: