mercurial/commands.py
branchstable
changeset 49618 3adca6eb6659
parent 49498 f2b1bc19ce90
child 49698 c9690836747d
child 49830 bc59c1e5dd01
--- a/mercurial/commands.py	Fri Nov 18 14:03:56 2022 -0500
+++ b/mercurial/commands.py	Fri Nov 18 13:43:03 2022 -0500
@@ -2114,7 +2114,9 @@
         if repo[b'.'].closesbranch():
             # Not ideal, but let us do an extra status early to prevent early
             # bail out.
-            matcher = scmutil.match(repo[None], pats, opts)
+            matcher = scmutil.match(
+                repo[None], pats, pycompat.byteskwargs(opts)
+            )
             s = repo.status(match=matcher)
             if s.modified or s.added or s.removed:
                 bheads = repo.branchheads(branch, closed=True)