diff hgext/chgserver.py @ 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 ea400a4f32e6
children e00e57d83653
line wrap: on
line diff
--- a/hgext/chgserver.py	Wed Mar 02 10:10:06 2016 +0000
+++ b/hgext/chgserver.py	Mon Feb 29 11:43:25 2016 +0000
@@ -582,8 +582,6 @@
 
 class chgunixservice(commandserver.unixservice):
     def init(self):
-        # drop options set for "hg serve --cmdserver" command
-        self.ui.setconfig('progress', 'assume-tty', None)
         signal.signal(signal.SIGHUP, self._reloadconfig)
         self._inithashstate()
         class cls(AutoExitMixIn, SocketServer.ForkingMixIn,