changeset 48975 | 7f5e91cdebcd |
parent 48966 | 6000f5b25c9b |
child 49004 | f254fc73d956 |
--- a/mercurial/match.py Mon Feb 21 10:20:48 2022 -0700 +++ b/mercurial/match.py Mon Feb 21 10:21:18 2022 -0700 @@ -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.