##// END OF EJS Templates
patchbomb: continue if we can't import readline.
Bryan O'Sullivan -
r1204:b0f6053d default
parent child Browse files
Show More
@@ -52,13 +52,18 b' from mercurial import hg'
52 52 from mercurial import ui
53 53 import os
54 54 import popen2
55 import readline
56 55 import smtplib
57 56 import socket
58 57 import sys
59 58 import tempfile
60 59 import time
61 60
61 try:
62 # readline gives raw_input editing capabilities, but is not
63 # present on windows
64 import readline
65 except ImportError: pass
66
62 67 def diffstat(patch):
63 68 fd, name = tempfile.mkstemp()
64 69 try:
General Comments 0
You need to be logged in to leave comments. Login now