--- a/hgext/histedit.py Fri Jun 26 04:07:50 2020 +0200
+++ b/hgext/histedit.py Fri Jun 26 09:37:34 2020 +0200
@@ -201,7 +201,6 @@
termios = None
import functools
-import locale
import os
import struct
@@ -1711,10 +1710,6 @@
ctxs = []
for i, r in enumerate(revs):
ctxs.append(histeditrule(ui, repo[r], i))
- # Curses requires setting the locale or it will default to the C
- # locale. This sets the locale to the user's default system
- # locale.
- locale.setlocale(locale.LC_ALL, '')
rc = curses.wrapper(functools.partial(_chisteditmain, repo, ctxs))
curses.echo()
curses.endwin()