changeset 36180 | 34e850440271 |
parent 35486 | 4c7ae95e1c71 |
child 36183 | 44a519ec5077 |
--- a/mercurial/hgweb/webutil.py Wed Feb 14 00:18:35 2018 -0500 +++ b/mercurial/hgweb/webutil.py Wed Feb 14 15:43:03 2018 +0530 @@ -619,7 +619,7 @@ websubdefs += repo.ui.configitems('interhg') for key, pattern in websubdefs: # grab the delimiter from the character after the "s" - unesc = pattern[1] + unesc = pattern[1:2] delim = re.escape(unesc) # identify portions of the pattern, taking care to avoid escaped