##// END OF EJS Templates
Do not overwrite motd attribute of hgwebdir instances on refresh....
Thomas Arendsen Hein -
r9903:5d748045 stable
parent child Browse files
Show More
@@ -48,6 +48,7 b' class hgwebdir(object):'
48 self.conf = conf
48 self.conf = conf
49 self.baseui = baseui
49 self.baseui = baseui
50 self.lastrefresh = 0
50 self.lastrefresh = 0
51 self.motd = None
51 self.refresh()
52 self.refresh()
52
53
53 def refresh(self):
54 def refresh(self):
@@ -72,7 +73,6 b' class hgwebdir(object):'
72
73
73 encoding.encoding = self.ui.config('web', 'encoding',
74 encoding.encoding = self.ui.config('web', 'encoding',
74 encoding.encoding)
75 encoding.encoding)
75 self.motd = self.ui.config('web', 'motd')
76 self.style = self.ui.config('web', 'style', 'paper')
76 self.style = self.ui.config('web', 'style', 'paper')
77 self.stripecount = self.ui.config('web', 'stripes', 1)
77 self.stripecount = self.ui.config('web', 'stripes', 1)
78 if self.stripecount:
78 if self.stripecount:
General Comments 0
You need to be logged in to leave comments. Login now