Submitter | phabricator |
---|---|
Date | March 2, 2022, 11:30 p.m. |
Message ID | <differential-rev-PHID-DREV-y7wb4ppfbhi6osk77tst-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/50629/ |
State | New |
Headers | show |
Comments
Patch
diff --git a/mercurial/match.py b/mercurial/match.py --- a/mercurial/match.py +++ b/mercurial/match.py @@ -583,10 +583,7 @@ if b'' in prefix_set: return True - if pycompat.ispy3: - sl = ord(b'/') - else: - sl = '/' + sl = ord(b'/') # We already checked that path isn't in prefix_set exactly, so # `path[len(pf)] should never raise IndexError.