--- a/mercurial/dispatch.py Thu Feb 02 17:23:55 2023 +0100
+++ b/mercurial/dispatch.py Thu Feb 02 17:24:05 2023 +0100
@@ -734,7 +734,7 @@
self.name,
self.definition,
)
- if util.safehasattr(self, b'shell'):
+ if util.safehasattr(self, 'shell'):
return self.fn(ui, *args, **opts)
else:
try: