exp: respect repo hardlink_lock config for the exp scm lock

- Will fix #7029

Co-authored-by: Peter Rowlands (변기호) <[email protected]>
This commit is contained in:
Kwon-Young Choi
2021-11-23 19:51:42 +09:00
committed by Peter Rowlands (변기호)
co-authored by Peter Rowlands
parent 7dc5420548
commit 3e7cff3e35
+1
View File
@@ -98,6 +98,7 @@ class Experiments:
self.scm_lock = make_lock(
os.path.join(self.repo.tmp_dir, "exp_scm_lock"),
tmp_dir=self.repo.tmp_dir,
hardlink_lock=repo.config["core"].get("hardlink_lock", False),
)
@property