mirror of
https://github.com/facebook/sapling.git
synced 2025-01-06 04:43:19 +03:00
changed pos to rev for changelog cmd, changed & to ;
This commit is contained in:
parent
1802614df3
commit
8778053fe5
@ -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))
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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#
|
||||
|
Loading…
Reference in New Issue
Block a user