changeset 44:3a661f63107e

client: tell the server we're interactive
author Idan Kamara <idankk86@gmail.com>
date Tue, 16 Aug 2011 23:50:01 +0300
parents 77ebb51f5f36
children 191855a9d813
files hglib/client.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hglib/client.py	Mon Aug 15 22:46:45 2011 +0300
+++ b/hglib/client.py	Tue Aug 16 23:50:01 2011 +0300
@@ -13,7 +13,8 @@
                                                   'branch, author, desc')
 
     def __init__(self, path, encoding, configs):
-        args = [hglib.HGPATH, 'serve', '--cmdserver', 'pipe']
+        args = [hglib.HGPATH, 'serve', '--cmdserver', 'pipe',
+                '--config', 'ui.interactive=True']
         if path:
             args += ['-R', path]
         if configs: