Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/hgweb/hgwebdir_mod.py @ 26421:4b0fc75f9403
urls: bulk-change primary website URLs
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 30 Sep 2015 15:43:49 -0500 |
parents | 9df8c729e2e7 |
children | 56b2bcea2529 |
comparison
equal
deleted
inserted
replaced
26420:2fc86d92c4a9 | 26421:4b0fc75f9403 |
---|---|
457 if style == styles[0]: | 457 if style == styles[0]: |
458 vars['style'] = style | 458 vars['style'] = style |
459 | 459 |
460 start = url[-1] == '?' and '&' or '?' | 460 start = url[-1] == '?' and '&' or '?' |
461 sessionvars = webutil.sessionvars(vars, start) | 461 sessionvars = webutil.sessionvars(vars, start) |
462 logourl = config('web', 'logourl', 'http://mercurial.selenic.com/') | 462 logourl = config('web', 'logourl', 'https://mercurial-scm.org/') |
463 logoimg = config('web', 'logoimg', 'hglogo.png') | 463 logoimg = config('web', 'logoimg', 'hglogo.png') |
464 staticurl = config('web', 'staticurl') or url + 'static/' | 464 staticurl = config('web', 'staticurl') or url + 'static/' |
465 if not staticurl.endswith('/'): | 465 if not staticurl.endswith('/'): |
466 staticurl += '/' | 466 staticurl += '/' |
467 | 467 |