locking during relink
Koen Van Hoof
koen.van_hoof at nokia.com
Tue Nov 2 08:15:08 UTC 2021
Hi,
In relink.py I see
   with repo.lock(), src.lock():
       candidates = sorted(collect(src, ui))
       targets = prune(candidates, src.store.path, repo.store.path, ui)
       do_relink(src.store.path, repo.store.path, targets, ui)
Is there any reason why the the collect and the prune have to be inside
the lock ?
:-) Koen Van Hoof.
More information about the Mercurial-devel
mailing list