diff mercurial/hgweb.py @ 2170:29eeb2717915

Add archive download links to tip on main changeset list page
author Colin McMillen <mcmillen@cs.cmu.edu>
date Mon, 01 May 2006 09:01:59 +0200
parents c72e618c1204
children 290534ee163c
line wrap: on
line diff
--- a/mercurial/hgweb.py	Sun Apr 30 22:46:54 2006 +0200
+++ b/mercurial/hgweb.py	Mon May 01 09:01:59 2006 +0200
@@ -293,7 +293,8 @@
         yield self.t('changelog',
                      changenav=changenav,
                      manifest=hex(mf),
-                     rev=pos, changesets=count, entries=changelist)
+                     rev=pos, changesets=count, entries=changelist,
+                     archives=self.archivelist("tip"))
 
     def search(self, query):