changeset 919:16ad8d51b001

fix non-ascii characters support in commandline arguments
author eugene.petrenko@jetbrains.com
date Mon, 19 Jan 2015 18:30:08 +0100
parents 0037067465aa
children 2de8659aa8ab
files mercurial-common/src/python/load-commands-command.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial-common/src/python/load-commands-command.py	Tue Jan 13 20:58:29 2015 +0100
+++ b/mercurial-common/src/python/load-commands-command.py	Mon Jan 19 18:30:08 2015 +0100
@@ -36,7 +36,7 @@
       if len(line) <= 0:
         continue
 
-      file_commands.append(str(line))
+      file_commands.append(line.encode("utf-8"))
   return file_commands