From patchwork Tue Oct 17 12:39:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D1134: hgweb: correct an earlier error of mine - `start` should be bytes From: phabricator X-Patchwork-Id: 25094 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Tue, 17 Oct 2017 12:39:59 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHGafd7fd950f6e: hgweb: correct an earlier error of mine - `start` should be bytes (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1134?vs=2884&id=2908 REVISION DETAIL https://phab.mercurial-scm.org/D1134 AFFECTED FILES mercurial/hgweb/hgweb_mod.py CHANGE DETAILS To: durin42, #hg-reviewers, ryanmce Cc: ryanmce, mercurial-devel 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 @@ -187,7 +187,7 @@ if style == styles[0]: vars['style'] = style - start = r'&' if req.url[-1] == r'?' else r'?' + start = '&' if req.url[-1] == r'?' else '?' sessionvars = webutil.sessionvars(vars, start) if not self.reponame: