equal
deleted
inserted
replaced
209 const char *hgcmd = gethgcmd(); |
209 const char *hgcmd = gethgcmd(); |
210 |
210 |
211 const char *baseargv[] = { |
211 const char *baseargv[] = { |
212 hgcmd, |
212 hgcmd, |
213 "serve", |
213 "serve", |
214 "--cwd", "/", |
|
215 "--cmdserver", "chgunix", |
214 "--cmdserver", "chgunix", |
216 "--address", opts->sockname, |
215 "--address", opts->sockname, |
217 "--daemon-postexec", "none", |
216 "--daemon-postexec", "chdir:/", |
218 "--pid-file", opts->pidfile, |
217 "--pid-file", opts->pidfile, |
219 "--config", "extensions.chgserver=", |
218 "--config", "extensions.chgserver=", |
220 }; |
219 }; |
221 size_t baseargvsize = sizeof(baseargv) / sizeof(baseargv[0]); |
220 size_t baseargvsize = sizeof(baseargv) / sizeof(baseargv[0]); |
222 size_t argsize = baseargvsize + opts->argsize + 1; |
221 size_t argsize = baseargvsize + opts->argsize + 1; |