mercurial/commands.py
changeset 1910 e2fe1953f417
parent 1909 37b9f80a5fbb
child 1913 74cf2b2f43d4
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -430,11 +430,14 @@ class changeset_templater(object):
         else:
             showbranches = ''
 
-        def showmanifest(**args):
-            args = args.copy()
-            args.update(rev=self.repo.manifest.rev(changes[0]),
-                        node=hex(changes[0]))
-            yield self.t('manifest', **args)
+        if self.ui.debugflag:
+            def showmanifest(**args):
+                args = args.copy()
+                args.update(rev=self.repo.manifest.rev(changes[0]),
+                            node=hex(changes[0]))
+                yield self.t('manifest', **args)
+        else:
+            showmanifest = ''
 
         def showparents(**args):
             parents = [[('rev', log.rev(p)), ('node', hex(p))]