comparison 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
comparison
equal deleted inserted replaced
43:77ebb51f5f36 44:3a661f63107e
11 11
12 revision = collections.namedtuple('revision', 'rev, node, tags, ' 12 revision = collections.namedtuple('revision', 'rev, node, tags, '
13 'branch, author, desc') 13 'branch, author, desc')
14 14
15 def __init__(self, path, encoding, configs): 15 def __init__(self, path, encoding, configs):
16 args = [hglib.HGPATH, 'serve', '--cmdserver', 'pipe'] 16 args = [hglib.HGPATH, 'serve', '--cmdserver', 'pipe',
17 '--config', 'ui.interactive=True']
17 if path: 18 if path:
18 args += ['-R', path] 19 args += ['-R', path]
19 if configs: 20 if configs:
20 args += ['--config'] + configs 21 args += ['--config'] + configs
21 env = dict(os.environ) 22 env = dict(os.environ)