diff contrib/chg/chg.c @ 28327:3ab370f84a23

chg: drop progress.assume-tty config It was necessary to go through progress.uisetup() to set up the progressui wrapper. Since the progress extension has got into the core, progress.assume-tty is no longer necessary.
author Jun Wu <quark@fb.com>
date Mon, 29 Feb 2016 11:43:25 +0000
parents 2ab59ac06b76
children 2f0f352d4196
line wrap: on
line diff
--- a/contrib/chg/chg.c	Wed Mar 02 10:10:06 2016 +0000
+++ b/contrib/chg/chg.c	Mon Feb 29 11:43:25 2016 +0000
@@ -216,8 +216,6 @@
 		"--daemon-postexec", "none",
 		"--pid-file", opts->pidfile,
 		"--config", "extensions.chgserver=",
-		/* wrap root ui so that it can be disabled/enabled by config */
-		"--config", "progress.assume-tty=1",
 	};
 	size_t baseargvsize = sizeof(baseargv) / sizeof(baseargv[0]);
 	size_t argsize = baseargvsize + opts->argsize + 1;