# HG changeset patch # User jake@edge2.net # Date 1116945725 25200 # Node ID e8a360cd5a9ffab0f5b7f76a6e6a460c68edc914 # Parent 67b8d24d2dbea07afab09fae1378c9927aa9edcc changed pos to rev for changelog cmd, changed & to ; 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/templates/changeset.tmpl b/templates/changeset.tmpl --- a/templates/changeset.tmpl +++ b/templates/changeset.tmpl @@ -4,7 +4,7 @@
-changelog +changelog manifest
diff --git a/templates/fileannotate.tmpl b/templates/fileannotate.tmpl --- a/templates/fileannotate.tmpl +++ b/templates/fileannotate.tmpl @@ -4,11 +4,11 @@
-changelog -changeset -manifest -file -revisions +changelog +changeset +manifest +file +revisions

Annotate #file# (#filenode#)

diff --git a/templates/filediff.tmpl b/templates/filediff.tmpl --- a/templates/filediff.tmpl +++ b/templates/filediff.tmpl @@ -4,11 +4,11 @@
-changelog -changeset -file -revisions -annotate +changelog +changeset +file +revisions +annotate

#file#

diff --git a/templates/filelog.tmpl b/templates/filelog.tmpl --- a/templates/filelog.tmpl +++ b/templates/filelog.tmpl @@ -5,8 +5,8 @@
changelog -file -annotate +file +annotate

#file# revision history

diff --git a/templates/filerevision.tmpl b/templates/filerevision.tmpl --- a/templates/filerevision.tmpl +++ b/templates/filerevision.tmpl @@ -4,11 +4,11 @@
-changelog -changeset -manifest -revisions -annotate +changelog +changeset +manifest +revisions +annotate

#file# (revision #filenode#)

diff --git a/templates/manifest.tmpl b/templates/manifest.tmpl --- a/templates/manifest.tmpl +++ b/templates/manifest.tmpl @@ -4,8 +4,8 @@
-changelog -changeset +changelog +changeset

manifest: #path#

@@ -13,4 +13,4 @@
[up]
#entries# -#footer# \ No newline at end of file +#footer#