From patchwork Wed Mar 2 10:44:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [04,of,10] chg: drop --cwd / From: Jun Wu X-Patchwork-Id: 13524 Message-Id: <9cd173eff72962ada960.1456915446@x1c> To: Date: Wed, 2 Mar 2016 10:44:06 +0000 # HG changeset patch # User Jun Wu # Date 1456746319 0 # Mon Feb 29 11:45:19 2016 +0000 # Node ID 9cd173eff72962ada9601a368efdb8f87e2eed43 # Parent 855e65accbb4519f7140828efe6800b0b92fd5f4 chg: drop --cwd / We intensionally want chgserver to load repo config to be able to: - find out what extensions it should load - detect config changes correctly Therefore the --cwd flag is dropped. diff --git a/contrib/chg/chg.c b/contrib/chg/chg.c --- a/contrib/chg/chg.c +++ b/contrib/chg/chg.c @@ -210,7 +210,6 @@ const char *baseargv[] = { hgcmd, "serve", - "--cwd", "/", "--cmdserver", "chgunix", "--address", opts->sockname, "--daemon-postexec", "none",