# HG changeset patch # User mpm@selenic.com # Date 1117040094 28800 # Node ID 083c38bdfa6468113b31a7def64e89b00fbd6551 # Parent 1f6c61a6058644f4b51e84f81b026cb7a05fc958# Parent 1d5f799ebe1e5e7defd09b8a373caff009d058a4 Merge from hgweb diff --git a/hg b/hg diff --git a/mercurial/hg.py b/mercurial/hg.py diff --git a/mercurial/hgweb.py b/mercurial/hgweb.py --- a/mercurial/hgweb.py +++ b/mercurial/hgweb.py @@ -516,8 +516,8 @@ class hgweb: if not args.has_key('cmd') or args['cmd'][0] == 'changelog': hi = self.repo.changelog.count() - if args.has_key('pos'): - hi = int(args['pos'][0]) + if args.has_key('rev'): + hi = int(args['rev'][0]) write(self.changelog(hi)) diff --git a/mercurial/revlog.py b/mercurial/revlog.py diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -16,4 +16,4 @@ setup(name='mercurial', license='GNU GPL', packages=['mercurial'], ext_modules=[Extension('mercurial.mpatch', ['mercurial/mpatch.c'])], - scripts=['hg', 'hgweb.py']) + scripts=['hg']) diff --git a/templates/changelogentry.tmpl b/templates/changelogentry.tmpl --- a/templates/changelogentry.tmpl +++ b/templates/changelogentry.tmpl @@ -1,24 +1,24 @@ -
#age# ago: | +#age# ago: | #shortdesc# |
revision: | +revision: | #rev#:#node# |
manifest: | +manifest: | #rev#:#manifest# |
author: | +author: | #author# |
date: | +date: | #date# |
files: | +files: | #files# |