--- a/mercurial/pycompat.py Fri Jun 15 02:07:39 2018 +0530 +++ b/mercurial/pycompat.py Wed Jun 13 22:51:08 2018 +0530 @@ -302,6 +302,7 @@ else: import cStringIO + unicode = unicode bytechr = chr byterepr = repr bytestr = str