D2260: py3: add b'' to make sure regex pattern are bytes in hgweb/webutil.py

2018-02-14 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG44a519ec5077: py3: add b to make sure regex 
pattern are bytes in hgweb/webutil.py (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2260?vs=5700=5715

REVISION DETAIL
  https://phab.mercurial-scm.org/D2260

AFFECTED FILES
  mercurial/hgweb/webutil.py

CHANGE DETAILS

diff --git a/mercurial/hgweb/webutil.py b/mercurial/hgweb/webutil.py
--- a/mercurial/hgweb/webutil.py
+++ b/mercurial/hgweb/webutil.py
@@ -626,15 +626,15 @@
 # delimiters. the replace format and flags are optional, but
 # delimiters are required.
 match = re.match(
-r'^s%s(.+)(?:(?<=)|(?https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D2260: py3: add b'' to make sure regex pattern are bytes in hgweb/webutil.py

2018-02-14 Thread pulkit (Pulkit Goyal)
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  1. skip-blame because we are just adding b'' prefixes

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D2260

AFFECTED FILES
  mercurial/hgweb/webutil.py

CHANGE DETAILS

diff --git a/mercurial/hgweb/webutil.py b/mercurial/hgweb/webutil.py
--- a/mercurial/hgweb/webutil.py
+++ b/mercurial/hgweb/webutil.py
@@ -626,15 +626,15 @@
 # delimiters. the replace format and flags are optional, but
 # delimiters are required.
 match = re.match(
-r'^s%s(.+)(?:(?<=)|(?https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel