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

hgthread: prefix util.Abort() exceptions with 'abort: '

Changeset 868b8054a602

Parent 27ed9f9ad55a

by Steve Borho

Changes to one file · Browse files at 868b8054a602 Showing diff from parent 27ed9f9ad55a Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​hgthread.py Stacked
 
179
180
181
182
 
 
 
183
184
185
 
179
180
181
 
182
183
184
185
186
187
@@ -179,7 +179,9 @@
  self.ret = ret or 0   if self.postfunc:   self.postfunc(ret) - except (hglib.RepoError, urllib2.HTTPError, util.Abort), e: + except util.Abort, e: + self.ui.write_err(_('abort: ') + str(e) + '\n') + except (hglib.RepoError, urllib2.HTTPError), e:   self.ui.write_err(str(e) + '\n')   except Exception, e:   self.ui.write_err(str(e) + '\n')