hgext/histedit.py
changeset 45002 d2227d4c9e6b
parent 44856 b7808443ed6a
child 45017 a65c60f3280e
--- 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()