diff -r 0c42b6bb2329 -r 69ac9aebbc55 mercurial/exchange.py --- a/mercurial/exchange.py Wed Oct 14 14:53:15 2015 -0400 +++ b/mercurial/exchange.py Thu Oct 15 14:53:32 2015 -0700 @@ -1795,7 +1795,7 @@ except urllib2.HTTPError as e: ui.warn(_('HTTP error fetching bundle: %s\n') % str(e)) except urllib2.URLError as e: - ui.warn(_('error fetching bundle: %s\n') % e.reason) + ui.warn(_('error fetching bundle: %s\n') % e.reason[1]) return False finally: