mercurial/shelve.py
changeset 50627 4a60280b5653
parent 50264 921f4834b7b5
child 50951 d718eddf01d9
--- a/mercurial/shelve.py	Thu Feb 02 17:34:48 2023 +0100
+++ b/mercurial/shelve.py	Thu Feb 02 17:35:01 2023 +0100
@@ -516,7 +516,7 @@
 
 def getcommitfunc(extra, interactive, editor=False):
     def commitfunc(ui, repo, message, match, opts):
-        hasmq = util.safehasattr(repo, b'mq')
+        hasmq = util.safehasattr(repo, 'mq')
         if hasmq:
             saved, repo.mq.checkapplied = repo.mq.checkapplied, False