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

Yuya Nishihara yuya at tcha.org
Wed Feb 17 11:16:32 EST 2016


On Tue, 16 Feb 2016 11:12:02 +0000, Jun Wu wrote:
> # HG changeset patch
> # User Jun Wu <quark at fb.com>
> # Date 1455620932 0
> #      Tue Feb 16 11:08:52 2016 +0000
> # Node ID c8b24417f06cdcd4821e069eeb020e2da579a008
> # Parent  0ce18cbc108990527291701bb0e857f1e05288ef
> chg: hold a lock file before connected to server

Looked briefly and the direction seems good. lockfd leak is carefully avoided.
I'll revisit this patch later.


More information about the Mercurial-devel mailing list