[PATCH 3 of 3 V2] chg: hold a lock file before connected to server

Jun Wu quark at fb.com
Wed Feb 24 08:49:14 EST 2016


On 02/24/2016 01:26 PM, Yuya Nishihara wrote:
> unlink() is the only way to recover from server crash, but I expect
> your future patches will make it unnecessary. Please let me know if
> you removed these lines unintentionally.

Thanks for pointing this out!

The chgserver patch will make unlink here unnecessary. Since it's not in
yet, at this time the unlink should exist. And the unlink is added back
with a different path in a future patch. Feel free to amend the commit.


More information about the Mercurial-devel mailing list