Mercurial > python-hglib
diff hglib/client.py @ 132:9ecb271600fc
client: fix passing multiple config settings
author | Julien Cristau <julien.cristau@logilab.fr> |
---|---|
date | Tue, 30 Sep 2014 12:00:34 +0200 |
parents | 53387d1e620b |
children | b6f601ba7f3c |
line wrap: on
line diff
--- a/hglib/client.py Fri Aug 01 18:24:32 2014 -0500 +++ b/hglib/client.py Tue Sep 30 12:00:34 2014 +0200 @@ -47,7 +47,8 @@ if path: self._args += ['-R', path] if configs: - self._args += ['--config'] + configs + for config in configs: + self._args += ['--config', config] self._env = {'HGPLAIN': '1'} if encoding: self._env['HGENCODING'] = encoding