changed pos to rev for changelog cmd, changed & to ;

This commit is contained in:
jake@edge2.net 2005-05-24 07:42:05 -07:00
parent 1802614df3
commit 8778053fe5
7 changed files with 23 additions and 23 deletions

View File

@ -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))

View File

@ -4,7 +4,7 @@
<body>
<div class=buttons>
<a href="?cmd=changelog&pos=#rev#">changelog</a>
<a href="?cmd=changelog;rev=#rev#">changelog</a>
<a href="?cmd=manifest;manifest=#manifest#;path=/">manifest</a>
</div>

View File

@ -4,11 +4,11 @@
<body>
<div class=buttons>
<a href="?cmd=changelog&rev=#rev#">changelog</a>
<a href="?cmd=changeset&node=#node#">changeset</a>
<a href="?cmd=manifest&manifest=#manifest#;path=#path#">manifest</a>
<a href="?cmd=file&file=#file#&filenode=#filenode#">file</a>
<a href="?cmd=filelog&file=#file#;filenode=#filenode#">revisions</a>
<a href="?cmd=changelog;rev=#rev#">changelog</a>
<a href="?cmd=changeset;node=#node#">changeset</a>
<a href="?cmd=manifest;manifest=#manifest#;path=#path#">manifest</a>
<a href="?cmd=file;file=#file#;filenode=#filenode#">file</a>
<a href="?cmd=filelog;file=#file#;filenode=#filenode#">revisions</a>
</div>
<h2>Annotate #file# (#filenode#)</h2>

View File

@ -4,11 +4,11 @@
<body>
<div class=buttons>
<a href="?cmd=changelog&rev=#rev#">changelog</a>
<a href="?cmd=changeset&node=#node#">changeset</a>
<a href="?cmd=file&file=#file#&filenode=#filenode#">file</a>
<a href="?cmd=filelog&file=#file#&filenode=#filenode#">revisions</a>
<a href="?cmd=annotate&file=#file#&filenode=#filenode#">annotate</a>
<a href="?cmd=changelog;rev=#rev#">changelog</a>
<a href="?cmd=changeset;node=#node#">changeset</a>
<a href="?cmd=file;file=#file#;filenode=#filenode#">file</a>
<a href="?cmd=filelog;file=#file#;filenode=#filenode#">revisions</a>
<a href="?cmd=annotate;file=#file#;filenode=#filenode#">annotate</a>
</div>
<h2>#file#</h2>

View File

@ -5,8 +5,8 @@
<div class=buttons>
<a href="?cmd=changelog">changelog</a>
<a href="?cmd=file&file=#file#&filenode=#filenode#">file</a>
<a href="?cmd=annotate&file=#file#&filenode=#filenode#">annotate</a>
<a href="?cmd=file;file=#file#;filenode=#filenode#">file</a>
<a href="?cmd=annotate;file=#file#;filenode=#filenode#">annotate</a>
</div>
<h2>#file# revision history</h2>

View File

@ -4,11 +4,11 @@
<body>
<div class=buttons>
<a href="?cmd=changelog&rev=#rev#">changelog</a>
<a href="?cmd=changeset&node=#node#">changeset</a>
<a href="?cmd=manifest&manifest=#manifest#;path=#path#">manifest</a>
<a href="?cmd=filelog&file=#file#;filenode=#filenode#">revisions</a>
<a href="?cmd=annotate&file=#file#&filenode=#filenode#">annotate</a>
<a href="?cmd=changelog;rev=#rev#">changelog</a>
<a href="?cmd=changeset;node=#node#">changeset</a>
<a href="?cmd=manifest;manifest=#manifest#;path=#path#">manifest</a>
<a href="?cmd=filelog;file=#file#;filenode=#filenode#">revisions</a>
<a href="?cmd=annotate;file=#file#;filenode=#filenode#">annotate</a>
</div>
<h2>#file# (revision #filenode#)</h2>

View File

@ -4,8 +4,8 @@
<body>
<div class=buttons>
<a href="?cmd=changelog&rev=#rev#">changelog</a>
<a href="?cmd=changeset&node=#node#">changeset</a>
<a href="?cmd=changelog;rev=#rev#">changelog</a>
<a href="?cmd=changeset;node=#node#">changeset</a>
</div>
<h2>manifest: #path#</h2>
@ -13,4 +13,4 @@
<div class=parity1><a href="?cmd=manifest;manifest=#manifest#;path=#up#">[up]</a><br /></div>
#entries#
#footer#
#footer#