# HG changeset patch # User Matt Mackall # Date 1225994161 21600 # Node ID feb0b76b6717360050a4d8e20e9a66ef86f21ee0 # Parent 2dc868712dcc59dec7c8a77a7d28af533a5b6f37 hgweb: Change default style to paper diff -r 2dc868712dcc -r feb0b76b6717 mercurial/hgweb/hgweb_mod.py --- 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) diff -r 2dc868712dcc -r feb0b76b6717 mercurial/hgweb/hgwebdir_mod.py --- 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