mercurial/hgweb/hgwebdir_mod.py
changeset 34703 d1fccbd50fcd
parent 34702 b2316265a32e
child 36607 c6061cadb400
child 36845 ff2370a70fe8
equal deleted inserted replaced
34702:b2316265a32e 34703:d1fccbd50fcd
   506         styles, (style, mapfile) = hgweb_mod.getstyle(req, config,
   506         styles, (style, mapfile) = hgweb_mod.getstyle(req, config,
   507                                                       self.templatepath)
   507                                                       self.templatepath)
   508         if style == styles[0]:
   508         if style == styles[0]:
   509             vars['style'] = style
   509             vars['style'] = style
   510 
   510 
   511         start = '&' if url[-1] == '?' else '?'
   511         start = r'&' if url[-1] == r'?' else r'?'
   512         sessionvars = webutil.sessionvars(vars, start)
   512         sessionvars = webutil.sessionvars(vars, start)
   513         logourl = config('web', 'logourl')
   513         logourl = config('web', 'logourl')
   514         logoimg = config('web', 'logoimg')
   514         logoimg = config('web', 'logoimg')
   515         staticurl = config('web', 'staticurl') or url + 'static/'
   515         staticurl = config('web', 'staticurl') or url + 'static/'
   516         if not staticurl.endswith('/'):
   516         if not staticurl.endswith('/'):