The associated branch has a partial fix for this.
LockDir (which is our locking primative in new-format repositories) already had the ability to spin on a lock, it just wasn't used.
The associated branch enables that ability.
It defaults to waiting no more that 1 minute, and currently doesn't expose a wait to change this. Mostly because chain of command makes it tricky to figure out where to get the information, and how to pass it around.
The associated branch has a partial fix for this.
LockDir (which is our locking primative in new-format repositories) already had the ability to spin on a lock, it just wasn't used.
The associated branch enables that ability.
It defaults to waiting no more that 1 minute, and currently doesn't expose a wait to change this. Mostly because chain of command makes it tricky to figure out where to get the information, and how to pass it around.