diff -r 25694a78e4a4 -r 82d9728ace95 mercurial/crecord.py --- a/mercurial/crecord.py Sat Mar 02 13:07:58 2019 -0800 +++ b/mercurial/crecord.py Sat Mar 02 13:15:53 2019 -0800 @@ -30,7 +30,7 @@ # This is required for ncurses to display non-ASCII characters in default user # locale encoding correctly. --immerrr -locale.setlocale(locale.LC_ALL, u'') +locale.setlocale(locale.LC_ALL, r'') # patch comments based on the git one diffhelptext = _("""# To remove '-' lines, make them ' ' lines (context).