mercurial/localrepo.py
changeset 2335 f0680b2d1d64
parent 2320 dbdce3b99988
child 2339 11422943cf72
--- a/mercurial/localrepo.py	Sun May 21 23:39:25 2006 -0700
+++ b/mercurial/localrepo.py	Mon May 22 08:47:53 2006 -0700
@@ -12,7 +12,7 @@
 from demandload import *
 demandload(globals(), "appendfile changegroup")
 demandload(globals(), "re lock transaction tempfile stat mdiff errno ui")
-demandload(globals(), "revlog traceback")
+demandload(globals(), "revlog")
 
 class localrepository(object):
     def __del__(self):
@@ -125,8 +125,7 @@
                                    '%s\n') % (hname, exc))
                 if throw:
                     raise
-                if self.ui.traceback:
-                    traceback.print_exc()
+                self.ui.print_exc()
                 return True
             if r:
                 if throw: