diff hglib/client.py @ 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
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: