changeset 50925 | d718eddf01d9 |
parent 50593 | 4a60280b5653 |
child 51097 | ae6722dbb575 |
--- a/mercurial/shelve.py Thu Dec 08 15:33:19 2022 +0100 +++ b/mercurial/shelve.py Thu Aug 31 23:56:15 2023 +0200 @@ -516,7 +516,7 @@ def getcommitfunc(extra, interactive, editor=False): def commitfunc(ui, repo, message, match, opts): - hasmq = util.safehasattr(repo, 'mq') + hasmq = hasattr(repo, 'mq') if hasmq: saved, repo.mq.checkapplied = repo.mq.checkapplied, False