hgext/clonebundles.py
changeset 50928 d718eddf01d9
parent 50776 335aeb3d670b
--- a/hgext/clonebundles.py	Thu Dec 08 15:33:19 2022 +0100
+++ b/hgext/clonebundles.py	Thu Aug 31 23:56:15 2023 +0200
@@ -987,7 +987,7 @@
         @localrepo.unfilteredmethod
         def clonebundles_lock(self, wait=True):
             '''Lock the repository file related to clone bundles'''
-            if not util.safehasattr(self, '_cb_lock_ref'):
+            if not hasattr(self, '_cb_lock_ref'):
                 self._cb_lock_ref = None
             l = self._currentlock(self._cb_lock_ref)
             if l is not None: