D2308: hgweb_mod: partially undo 8afc25e7effc to fix py3
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Sun Feb 18 07:46:59 EST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGa87093e2805d: hgweb_mod: partially undo 8afc25e7effc to fix py3 (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2308?vs=5826&id=5844
REVISION DETAIL
https://phab.mercurial-scm.org/D2308
AFFECTED FILES
mercurial/hgweb/hgweb_mod.py
CHANGE DETAILS
diff --git a/mercurial/hgweb/hgweb_mod.py b/mercurial/hgweb/hgweb_mod.py
--- a/mercurial/hgweb/hgweb_mod.py
+++ b/mercurial/hgweb/hgweb_mod.py
@@ -63,8 +63,6 @@
def getstyle(req, configfn, templatepath):
fromreq = req.form.get('style', [None])[0]
- if fromreq is not None:
- fromreq = pycompat.sysbytes(fromreq)
styles = (
fromreq,
configfn('web', 'style'),
To: durin42, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list