changeset 1917:7f578969f3f6

add quiet and debug template keys.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Fri, 10 Mar 2006 21:41:44 -0800
parents 95b2e14841f5
children 7f0899f7828c
files mercurial/commands.py
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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'