##// END OF EJS Templates
largefiles: take lock before writing requirements...
marmoute -
r49510:497c2655 default
parent child Browse files
Show More
@@ -455,6 +455,7 def reposetup(ui, repo):
455 455 repo.prepushoutgoinghooks.add(b"largefiles", prepushoutgoinghook)
456 456
457 457 def checkrequireslfiles(ui, repo, **kwargs):
458 with repo.lock():
458 459 if b'largefiles' not in repo.requirements and any(
459 460 lfutil.shortname + b'/' in f[1] for f in repo.store.datafiles()
460 461 ):
General Comments 0
You need to be logged in to leave comments. Login now