changeset 50928 | d718eddf01d9 |
parent 50869 | e0cae2b44191 |
child 51863 | f4733654f144 |
--- a/hgext/absorb.py Thu Dec 08 15:33:19 2022 +0100 +++ b/hgext/absorb.py Thu Aug 31 23:56:15 2023 +0200 @@ -873,7 +873,7 @@ # be slow. in absorb's case, no need to invalidate fsmonitorstate. noop = lambda: 0 restore = noop - if util.safehasattr(dirstate, '_fsmonitorstate'): + if hasattr(dirstate, '_fsmonitorstate'): bak = dirstate._fsmonitorstate.invalidate def restore():