--- a/mercurial/crecord.py Fri Jun 26 04:07:50 2020 +0200
+++ b/mercurial/crecord.py Fri Jun 26 09:37:34 2020 +0200
@@ -10,7 +10,6 @@
from __future__ import absolute_import
-import locale
import os
import re
import signal
@@ -574,9 +573,6 @@
"""
ui.write(_(b'starting interactive selection\n'))
chunkselector = curseschunkselector(headerlist, ui, operation)
- # This is required for ncurses to display non-ASCII characters in
- # default user locale encoding correctly. --immerrr
- locale.setlocale(locale.LC_ALL, '')
origsigtstp = sentinel = object()
if util.safehasattr(signal, b'SIGTSTP'):
origsigtstp = signal.getsignal(signal.SIGTSTP)