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

Jun Wu quark at fb.com
Mon Feb 29 16:40:30 EST 2016


On 02/29/2016 08:40 PM, Matt Mackall wrote:
> You're aware that this won't work on many (most?) network filesystems
> or on non- Unix systems, right? Seems a pretty unfortunate choice.

Thanks for the reminder. This file lives in /tmp, which seems unlikely
to be a network location.

That said, even with a broken lock, chg should still be able to produce
correct output eventually. It may waste some CPU time though.

Windows is not supported by chg because of fork.


More information about the Mercurial-devel mailing list