diff -r e7d3b509af8b -r 08a0f04b56bd mercurial/hgweb/hgwebdir_mod.py --- a/mercurial/hgweb/hgwebdir_mod.py Mon Jan 25 00:05:22 2010 -0600 +++ b/mercurial/hgweb/hgwebdir_mod.py Mon Jan 25 00:05:27 2010 -0600 @@ -324,7 +324,7 @@ style, mapfile = templater.stylemap(styles) if style == styles[0]: vars['style'] = style - + start = url[-1] == '?' and '&' or '?' sessionvars = webutil.sessionvars(vars, start) staticurl = config('web', 'staticurl') or url + 'static/'