patchbomb: continue if we can't import readline.
--- a/contrib/patchbomb Sun Sep 04 14:48:33 2005 -0700
+++ b/contrib/patchbomb Sun Sep 04 15:12:20 2005 -0700
@@ -52,13 +52,18 @@
from mercurial import ui
import os
import popen2
-import readline
import smtplib
import socket
import sys
import tempfile
import time
+try:
+ # readline gives raw_input editing capabilities, but is not
+ # present on windows
+ import readline
+except ImportError: pass
+
def diffstat(patch):
fd, name = tempfile.mkstemp()
try: