Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.5, 2.1, and 2.1.1

stable run: catch zlib.error generically, suggest refresh (closes #759)

Changeset 2ad2ad3c07e2

Parent 50542e82b084

by Steve Borho

Changes to one file · Browse files at 2ad2ad3c07e2 Showing diff from parent 50542e82b084 Diff from another changeset...

 
17
18
19
 
20
21
22
 
365
366
367
 
368
369
370
 
17
18
19
20
21
22
23
 
366
367
368
369
370
371
372
@@ -17,6 +17,7 @@
 import sys  import subprocess  import traceback +import zlib    from PyQt4.QtCore import *  from PyQt4.QtGui import * @@ -365,6 +366,7 @@
  # It doesn't check the hierarchy of exception classes for simplicity.   _recoverableexc = {   error.RepoLookupError: _('Try refreshing your repository.'), + zlib.error: _('Try refreshing your repository.'),   error.ParseError: _('Error string "%(arg0)s" at %(arg1)s<br>Please '   '<a href="#edit:%(arg1)s">edit</a> your config'),   error.ConfigError: _('Configuration Error: "%(arg0)s", please '