diff mercurial/cmdutil.py @ 10160:48653dea23dd

Bugfix and test for hg log XML output
author Robert Bachmann <rbachm@gmail.com>
date Wed, 30 Dec 2009 02:41:19 +0100
parents 56284451a22c
children 2f7a38f336f4
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Wed Dec 30 02:38:53 2009 +0100
+++ b/mercurial/cmdutil.py	Wed Dec 30 02:41:19 2009 +0100
@@ -844,7 +844,7 @@
             self.ui.write(templater.stringify(self.t(key, **props)))
             self.showpatch(ctx.node())
 
-            if types['header']:
+            if types['footer']:
                 if not self.footer:
                     self.footer = templater.stringify(self.t(types['footer'],
                                                       **props))