##// 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 48 self.conf = conf
49 49 self.baseui = baseui
50 50 self.lastrefresh = 0
51 self.motd = None
51 52 self.refresh()
52 53
53 54 def refresh(self):
@@ -72,7 +73,6 b' class hgwebdir(object):'
72 73
73 74 encoding.encoding = self.ui.config('web', 'encoding',
74 75 encoding.encoding)
75 self.motd = self.ui.config('web', 'motd')
76 76 self.style = self.ui.config('web', 'style', 'paper')
77 77 self.stripecount = self.ui.config('web', 'stripes', 1)
78 78 if self.stripecount:
General Comments 0
You need to be logged in to leave comments. Login now