tortoisehg / stable (http://tortoisehg.bitbucket.org/)

TortoiseHg repository. Main line of development in "default" branch. Releases, bugfixes, and documentation improvements in "stable" branch.

Clone this repository (size: 23.9 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/tortoisehg/stable/
commit 3082: 85ad42406750
parent 3081: 5cbaae3049dc
branch: default
gdialog: catch IOErrors in hg call wrapper Fixes #349
Steve Borho / sborho
7 months ago

Changed (Δ20 bytes):

raw changeset »

hggtk/gdialog.py (1 lines added, 1 lines removed)

Up to file-list hggtk/gdialog.py:

@@ -379,7 +379,7 @@ class GDialog(gtk.Window):
379
379
            self.ui.pushbuffer()
380
380
            try:
381
381
                command()
382
            except util.Abort, inst:
382
            except (util.Abort, IOError, OSError), inst:
383
383
                Prompt(title + _(' Aborted'), str(inst), self).run()
384
384
                return False, ''
385
385
        finally: