changeset 153:e8a360cd5a9f

changed pos to rev for changelog cmd, changed & to ;
author jake@edge2.net
date Tue, 24 May 2005 07:42:05 -0700
parents 67b8d24d2dbe
children 1d5f799ebe1e
files mercurial/hgweb.py templates/changeset.tmpl templates/fileannotate.tmpl templates/filediff.tmpl templates/filelog.tmpl templates/filerevision.tmpl templates/manifest.tmpl
diffstat 7 files changed, 23 insertions(+), 23 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb.py	Tue May 24 07:33:12 2005 -0700
+++ b/mercurial/hgweb.py	Tue May 24 07:42:05 2005 -0700
@@ -516,8 +516,8 @@
 
         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))
             
--- a/templates/changeset.tmpl	Tue May 24 07:33:12 2005 -0700
+++ b/templates/changeset.tmpl	Tue May 24 07:42:05 2005 -0700
@@ -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>
 
--- a/templates/fileannotate.tmpl	Tue May 24 07:33:12 2005 -0700
+++ b/templates/fileannotate.tmpl	Tue May 24 07:42:05 2005 -0700
@@ -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>
--- a/templates/filediff.tmpl	Tue May 24 07:33:12 2005 -0700
+++ b/templates/filediff.tmpl	Tue May 24 07:42:05 2005 -0700
@@ -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>
--- a/templates/filelog.tmpl	Tue May 24 07:33:12 2005 -0700
+++ b/templates/filelog.tmpl	Tue May 24 07:42:05 2005 -0700
@@ -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>
--- a/templates/filerevision.tmpl	Tue May 24 07:33:12 2005 -0700
+++ b/templates/filerevision.tmpl	Tue May 24 07:42:05 2005 -0700
@@ -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>
--- a/templates/manifest.tmpl	Tue May 24 07:33:12 2005 -0700
+++ b/templates/manifest.tmpl	Tue May 24 07:42:05 2005 -0700
@@ -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#
\ No newline at end of file
+#footer#