changeset 50925 | d718eddf01d9 |
parent 50897 | a99e62dae4c8 |
child 50926 | 18c8c18993f0 |
--- a/hgext/mq.py Thu Dec 08 15:33:19 2022 +0100 +++ b/hgext/mq.py Thu Aug 31 23:56:15 2023 +0200 @@ -4186,7 +4186,7 @@ def mqimport(orig, ui, repo, *args, **kwargs): - if util.safehasattr(repo, 'abortifwdirpatched') and not kwargs.get( + if hasattr(repo, 'abortifwdirpatched') and not kwargs.get( 'no_commit', False ): repo.abortifwdirpatched(