# HG changeset patch # User Josef "Jeff" Sipek # Date 1153786204 14400 # Node ID 8a798185809dce82785c577f87b699e677c70ea7 # Parent ad329294d8081ac134324dcf5b3db5d10c30b202 [hgweb] Fixed up gitweb templates Now the gitweb templates have archive links diff -r ad329294d808 -r 8a798185809d mercurial/hgweb/hgweb_mod.py --- a/mercurial/hgweb/hgweb_mod.py Mon Jul 24 17:17:07 2006 -0500 +++ b/mercurial/hgweb/hgweb_mod.py Mon Jul 24 20:10:04 2006 -0400 @@ -609,7 +609,8 @@ lastchange = (0, 0), # FIXME manifest = hex(mf), tags = tagentries, - shortlog = changelist) + shortlog = changelist, + archives=self.archivelist("tip")) def filediff(self, file, changeset): cl = self.repo.changelog diff -r ad329294d808 -r 8a798185809d templates/changelog-gitweb.tmpl --- a/templates/changelog-gitweb.tmpl Mon Jul 24 17:17:07 2006 -0500 +++ b/templates/changelog-gitweb.tmpl Mon Jul 24 20:10:04 2006 -0400 @@ -20,7 +20,7 @@ diff -r ad329294d808 -r 8a798185809d templates/shortlog-gitweb.tmpl --- a/templates/shortlog-gitweb.tmpl Mon Jul 24 17:17:07 2006 -0500 +++ b/templates/shortlog-gitweb.tmpl Mon Jul 24 20:10:04 2006 -0400 @@ -1,7 +1,8 @@ #header# diff -r ad329294d808 -r 8a798185809d templates/summary-gitweb.tmpl --- a/templates/summary-gitweb.tmpl Mon Jul 24 17:17:07 2006 -0500 +++ b/templates/summary-gitweb.tmpl Mon Jul 24 20:10:04 2006 -0400 @@ -9,7 +9,8 @@
Mercurial
#repo|escape# / summary