changeset 7337:feb0b76b6717

hgweb: Change default style to paper
author Matt Mackall <mpm@selenic.com>
date Thu, 06 Nov 2008 11:56:01 -0600
parents 2dc868712dcc
children fecfe4392e94
files mercurial/hgweb/hgweb_mod.py mercurial/hgweb/hgwebdir_mod.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py	Fri Oct 31 15:28:06 2008 +0100
+++ b/mercurial/hgweb/hgweb_mod.py	Thu Nov 06 11:56:01 2008 -0600
@@ -242,7 +242,7 @@
 
         # figure out which style to use
 
-        style = self.config("web", "style", "")
+        style = self.config("web", "style", "paper")
         if 'style' in req.form:
             style = req.form['style'][0]
         mapfile = style_map(self.templatepath, style)
--- a/mercurial/hgweb/hgwebdir_mod.py	Fri Oct 31 15:28:06 2008 +0100
+++ b/mercurial/hgweb/hgwebdir_mod.py	Thu Nov 06 11:56:01 2008 -0600
@@ -25,7 +25,7 @@
         self.parentui = parentui or ui.ui(report_untrusted=False,
                                           interactive = False)
         self.motd = None
-        self.style = None
+        self.style = 'paper'
         self.stripecount = None
         self.repos_sorted = ('name', False)
         self._baseurl = None