diff 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
line wrap: on
line diff
--- a/hglib/client.py	Thu Mar 01 23:16:07 2012 -0500
+++ b/hglib/client.py	Mon Oct 15 09:45:43 2012 -0700
@@ -48,7 +48,7 @@
             self._args += ['-R', path]
         if configs:
             self._args += ['--config'] + configs
-        self._env = {}
+        self._env = {'HGPLAIN': '1'}
         if encoding:
             self._env['HGENCODING'] = encoding