mercurial/branchmap.py
branchstable
changeset 46685 799973a44c82
parent 46254 c4b792fa109e
child 46794 e2f7b2695ba1
--- a/mercurial/branchmap.py	Thu Mar 11 17:05:37 2021 -0500
+++ b/mercurial/branchmap.py	Thu Mar 11 17:10:52 2021 -0500
@@ -299,9 +299,7 @@
                     msg
                     % (
                         _branchcachedesc(repo),
-                        pycompat.bytestr(
-                            inst
-                        ),  # pytype: disable=wrong-arg-types
+                        stringutil.forcebytestr(inst),
                     )
                 )
             bcache = None