Download:
child 349:1e4dbced3e4d
parent 347:9f69026eefb3
348:80539f2c61fc
Anton Shestakov <av6@dwimlabs.net>, Sun, 12 Apr 2020 23:56:27 +0800
checker: really make sure hg outputs UTF-8

1 файлов изменено, 1 вставок(+), 0 удалений(-) [+]
checker.py file | annotate | diff | comparison | revisions
--- a/checker.py Sun Apr 12 23:54:41 2020 +0800
+++ b/checker.py Sun Apr 12 23:56:27 2020 +0800
@@ -57,6 +57,7 @@
def run_hg(args, **kwargs):
env = kwargs.pop('env', {})
env.update({'HGPLAIN': '1'})
+ env.update({'HGENCODING': 'UTF-8'})
return run(['hg'] + args, env=env, **kwargs)