hgext/absorb.py
changeset 50928 d718eddf01d9
parent 50869 e0cae2b44191
--- 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():