changeset_templater: remove changes arg
authorMatt Mackall <mpm@selenic.com>
Mon, 13 Nov 2006 13:26:57 -0600
changeset 3640 1b2cd5dceca2
parent 3639 5c9a36210662
child 3641 54d27caf6a78
changeset_templater: remove changes arg
mercurial/templater.py
--- a/mercurial/templater.py	Mon Nov 13 13:26:57 2006 -0600
+++ b/mercurial/templater.py	Mon Nov 13 13:26:57 2006 -0600
@@ -325,16 +325,15 @@
     def write_header(self, thing):
         self.write(thing, header=True)
 
-    def show(self, rev=0, changenode=None, brinfo=None, changes=None,
-             copies=[], **props):
+    def show(self, rev=0, changenode=None, brinfo=None, copies=[], **props):
         '''show a single changeset or file revision'''
         log = self.repo.changelog
         if changenode is None:
             changenode = log.node(rev)
         elif not rev:
             rev = log.rev(changenode)
-        if changes is None:
-            changes = log.read(changenode)
+
+        changes = log.read(changenode)
 
         def showlist(name, values, plural=None, **args):
             '''expand set of values.