Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0.1, 1.0.2, and 1.0.3

stable quickop: catch util.Abort from repo.status()

Closes #1008

Changeset 55e8532b6c7e

Parent 616f990a1afc

by Steve Borho

Changes to one file · Browse files at 55e8532b6c7e Showing diff from parent 616f990a1afc Diff from another changeset...

 
9
10
11
12
 
13
14
15
 
144
145
146
147
148
 
 
 
 
 
 
149
150
151
 
9
10
11
 
12
13
14
15
 
144
145
146
 
 
147
148
149
150
151
152
153
154
155
@@ -9,7 +9,7 @@
 import gtk  import pango   -from mercurial import cmdutil +from mercurial import cmdutil, util    from tortoisehg.util.i18n import _  from tortoisehg.util import hglib, shlib @@ -144,8 +144,12 @@
  clean='C' in filetypes,   ignored='I' in filetypes,   unknown='?' in filetypes) - except IOError: - status = [None] * 7 + except (IOError, util.Abort), e: + gdialog.Prompt(_('Unable to determine repository status'), + str(e), self).run() + self.earlyout=True + self.hide() + return     (modified, added, removed, deleted, unknown, ignored, clean) = status   if 'M' in filetypes: