equal
deleted
inserted
replaced
985 return tr |
985 return tr |
986 |
986 |
987 @localrepo.unfilteredmethod |
987 @localrepo.unfilteredmethod |
988 def clonebundles_lock(self, wait=True): |
988 def clonebundles_lock(self, wait=True): |
989 '''Lock the repository file related to clone bundles''' |
989 '''Lock the repository file related to clone bundles''' |
990 if not util.safehasattr(self, '_cb_lock_ref'): |
990 if not hasattr(self, '_cb_lock_ref'): |
991 self._cb_lock_ref = None |
991 self._cb_lock_ref = None |
992 l = self._currentlock(self._cb_lock_ref) |
992 l = self._currentlock(self._cb_lock_ref) |
993 if l is not None: |
993 if l is not None: |
994 l.lock() |
994 l.lock() |
995 return l |
995 return l |