author | Gregory Szorc <gregory.szorc@gmail.com> |
Mon, 21 Feb 2022 10:21:18 -0700 | |
changeset 48884 | 7f5e91cdebcd |
parent 48883 | f0c445a8e324 |
child 48885 | a2c59b361e0f |
--- 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.