log speedup: set quiet/verbose/debugflag in the fake ui object
authorAlexis S. L. Carvalho <alexis@cecm.usp.br>
Sat, 28 Oct 2006 20:21:55 -0300
changeset 3573 31401776153f
parent 3572 fe03c9a476f6
child 3574 8d87c8d45b3d
log speedup: set quiet/verbose/debugflag in the fake ui object
mercurial/commands.py
--- a/mercurial/commands.py	Sat Oct 28 20:21:54 2006 -0300
+++ b/mercurial/commands.py	Sat Oct 28 20:21:55 2006 -0300
@@ -1802,6 +1802,9 @@
             self.ui = ui
             self.hunk = {}
             self.header = {}
+            self.quiet = ui.quiet
+            self.verbose = ui.verbose
+            self.debugflag = ui.debugflag
         def bump(self, rev):
             self.rev = rev
             self.hunk[rev] = []