diff -r 30b910fea244 -r d71492ca2fdd mercurial/crecord.py --- a/mercurial/crecord.py Fri May 01 20:17:00 2015 -0400 +++ b/mercurial/crecord.py Thu Apr 09 23:47:07 2015 -0400 @@ -20,7 +20,8 @@ # os.name is one of: 'posix', 'nt', 'dos', 'os2', 'mac', or 'ce' if os.name == 'posix': - import curses, fcntl, termios + import curses + import fcntl, termios else: # I have no idea if wcurses works with crecord... try: