diff mercurial/httprepo.py @ 8206:cce63ef1045b

ui: print_exc() -> traceback()
author Matt Mackall <mpm@selenic.com>
date Sun, 26 Apr 2009 16:50:44 -0500
parents bbc24c0753a0
children 46293a0c7e9f
line wrap: on
line diff
--- a/mercurial/httprepo.py	Sun Apr 26 16:50:44 2009 -0500
+++ b/mercurial/httprepo.py	Sun Apr 26 16:50:44 2009 -0500
@@ -82,7 +82,7 @@
             raise
         except httplib.HTTPException, inst:
             self.ui.debug(_('http error while sending %s command\n') % cmd)
-            self.ui.print_exc()
+            self.ui.traceback()
             raise IOError(None, inst)
         except IndexError:
             # this only happens with Python 2.3, later versions raise URLError