branch | stable |
changeset 51632 | fcc149f3fdcb |
parent 51494 | 9da3fcc5f70f |
child 51639 | 69c5f8d6c710 |
--- a/mercurial/localrepo.py Tue Jun 11 11:14:13 2024 +0200 +++ b/mercurial/localrepo.py Tue Jun 11 03:03:47 2024 +0200 @@ -3115,6 +3115,7 @@ l.lock() return l + self.hook(b'prelock', throw=True) l = self._lock( vfs=self.svfs, lockname=b"lock", @@ -3139,6 +3140,7 @@ l.lock() return l + self.hook(b'prewlock', throw=True) # We do not need to check for non-waiting lock acquisition. Such # acquisition would not cause dead-lock as they would just fail. if wait and (