add quiet and debug template keys.
authorVadim Gelfer <vadim.gelfer@gmail.com>
Fri, 10 Mar 2006 21:41:44 -0800
changeset 1917 7f578969f3f6
parent 1916 95b2e14841f5
child 1918 7f0899f7828c
add quiet and debug template keys.
mercurial/commands.py
--- a/mercurial/commands.py	Sun Mar 05 17:08:35 2006 -0800
+++ b/mercurial/commands.py	Fri Mar 10 21:41:44 2006 -0800
@@ -489,7 +489,11 @@
             }
 
         try:
-            if self.ui.verbose and 'changeset_verbose' in self.t:
+            if self.ui.debugflag and 'changeset_debug' in self.t:
+                key = 'changeset_debug'
+            elif self.ui.quiet and 'changeset_quiet' in self.t:
+                key = 'changeset_quiet'
+            elif self.ui.verbose and 'changeset_verbose' in self.t:
                 key = 'changeset_verbose'
             else:
                 key = 'changeset'