comparison hglib/client.py @ 105:86ff8611a8fa 0.3

client: always set HGPLAIN=1 (issue3502) Not setting it breaks output parsing on some commands.
author Siddharth Agarwal <sid0@fb.com>
date Mon, 15 Oct 2012 09:45:43 -0700
parents dd63d69a5ebf
children 9324a89dd84e
comparison
equal deleted inserted replaced
104:6e423f7c784f 105:86ff8611a8fa
46 '--config', 'ui.interactive=True'] 46 '--config', 'ui.interactive=True']
47 if path: 47 if path:
48 self._args += ['-R', path] 48 self._args += ['-R', path]
49 if configs: 49 if configs:
50 self._args += ['--config'] + configs 50 self._args += ['--config'] + configs
51 self._env = {} 51 self._env = {'HGPLAIN': '1'}
52 if encoding: 52 if encoding:
53 self._env['HGENCODING'] = encoding 53 self._env['HGENCODING'] = encoding
54 54
55 self.server = None 55 self.server = None
56 self._version = None 56 self._version = None