diff -r ed535f2c15c3 -r 348492ba632a mercurial/crecord.py --- a/mercurial/crecord.py Mon Mar 16 12:55:21 2015 -0500 +++ b/mercurial/crecord.py Mon Mar 16 12:58:06 2015 -0500 @@ -12,16 +12,8 @@ import patch as patchmod import util, encoding -import os -import re -import sys -import fcntl -import struct -import termios -import signal -import tempfile -import locale -import cStringIO +import os, re, sys, fcntl, struct, termios, signal, tempfile, locale, cStringIO + # This is required for ncurses to display non-ASCII characters in default user # locale encoding correctly. --immerrr locale.setlocale(locale.LC_ALL, '')