changeset 50925 | d718eddf01d9 |
parent 48875 | 6000f5b25c9b |
child 51859 | f4733654f144 |
--- a/hgext/commitextras.py Thu Dec 08 15:33:19 2022 +0100 +++ b/hgext/commitextras.py Thu Aug 31 23:56:15 2023 +0200 @@ -16,7 +16,6 @@ error, extensions, registrar, - util, ) cmdtable = {} @@ -52,7 +51,7 @@ def _commit(orig, ui, repo, *pats, **opts): - if util.safehasattr(repo, 'unfiltered'): + if hasattr(repo, 'unfiltered'): repo = repo.unfiltered() class repoextra(repo.__class__):