diff -r 25694a78e4a4 -r 82d9728ace95 hgext/histedit.py --- a/hgext/histedit.py Sat Mar 02 13:07:58 2019 -0800 +++ b/hgext/histedit.py Sat Mar 02 13:15:53 2019 -0800 @@ -953,7 +953,7 @@ # locale. This sets the locale to the user's default system # locale. import locale - locale.setlocale(locale.LC_ALL, u'') + locale.setlocale(locale.LC_ALL, r'') except ImportError: curses = None