mercurial/hgweb/hgwebdir_mod.py
changeset 34247 95f80c095804
parent 34246 db63872e10cc
child 34248 b59620c52eec
equal deleted inserted replaced
34246:db63872e10cc 34247:95f80c095804
   172 
   172 
   173         self.repos = repos
   173         self.repos = repos
   174         self.ui = u
   174         self.ui = u
   175         encoding.encoding = self.ui.config('web', 'encoding')
   175         encoding.encoding = self.ui.config('web', 'encoding')
   176         self.style = self.ui.config('web', 'style')
   176         self.style = self.ui.config('web', 'style')
   177         self.templatepath = self.ui.config('web', 'templates', None)
   177         self.templatepath = self.ui.config('web', 'templates')
   178         self.stripecount = self.ui.config('web', 'stripes')
   178         self.stripecount = self.ui.config('web', 'stripes')
   179         if self.stripecount:
   179         if self.stripecount:
   180             self.stripecount = int(self.stripecount)
   180             self.stripecount = int(self.stripecount)
   181         self._baseurl = self.ui.config('web', 'baseurl')
   181         self._baseurl = self.ui.config('web', 'baseurl')
   182         prefix = self.ui.config('web', 'prefix')
   182         prefix = self.ui.config('web', 'prefix')