diff -r 3bb7c56e8fe6 -r 4be9ecc982e1 mercurial/store.py --- a/mercurial/store.py Tue Mar 21 15:27:03 2023 +0100 +++ b/mercurial/store.py Tue Mar 21 17:07:22 2023 +0100 @@ -403,7 +403,7 @@ # some exception to the above matching # # XXX This is currently not in use because of issue6542 -EXCLUDED = re.compile(b'.*undo\.[^/]+\.(nd?|i)$') +EXCLUDED = re.compile(br'.*undo\.[^/]+\.(nd?|i)$') def is_revlog(f, kind, st):