Mercurial > hg
changeset 3640:1b2cd5dceca2
changeset_templater: remove changes arg
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 13 Nov 2006 13:26:57 -0600 |
parents | 5c9a36210662 |
children | 54d27caf6a78 |
files | mercurial/templater.py |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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.