Show More
@@ -11,7 +11,7 b'' | |||||
11 | # |
|
11 | # | |
12 | # <alias email> <actual email> |
|
12 | # <alias email> <actual email> | |
13 |
|
13 | |||
14 | import time, sys, signal, os |
|
14 | import sys | |
15 | from mercurial.i18n import gettext as _ |
|
15 | from mercurial.i18n import gettext as _ | |
16 | from mercurial import hg, mdiff, cmdutil, ui, util, templater, node |
|
16 | from mercurial import hg, mdiff, cmdutil, ui, util, templater, node | |
17 |
|
17 |
@@ -5,7 +5,7 b'' | |||||
5 | # This software may be used and distributed according to the terms |
|
5 | # This software may be used and distributed according to the terms | |
6 | # of the GNU General Public License, incorporated herein by reference. |
|
6 | # of the GNU General Public License, incorporated herein by reference. | |
7 |
|
7 | |||
8 |
import |
|
8 | import sys, os | |
9 | from mercurial import hg, fancyopts, commands, ui, util, patch, revlog |
|
9 | from mercurial import hg, fancyopts, commands, ui, util, patch, revlog | |
10 |
|
10 | |||
11 | def difftree(ui, repo, node1=None, node2=None, *files, **opts): |
|
11 | def difftree(ui, repo, node1=None, node2=None, *files, **opts): |
@@ -31,7 +31,7 b' refresh contents of top applied patch ' | |||||
31 |
|
31 | |||
32 | from mercurial.i18n import _ |
|
32 | from mercurial.i18n import _ | |
33 | from mercurial import commands, cmdutil, hg, patch, revlog, util, changegroup |
|
33 | from mercurial import commands, cmdutil, hg, patch, revlog, util, changegroup | |
34 |
import os, sys, re, |
|
34 | import os, sys, re, errno | |
35 |
|
35 | |||
36 | commands.norepo += " qclone qversion" |
|
36 | commands.norepo += " qclone qversion" | |
37 |
|
37 |
@@ -63,7 +63,7 b'' | |||||
63 | # |
|
63 | # | |
64 | # That should be all. Now your patchbomb is on its way out. |
|
64 | # That should be all. Now your patchbomb is on its way out. | |
65 |
|
65 | |||
66 |
import os, errno, |
|
66 | import os, errno, socket, time | |
67 | import email.MIMEMultipart, email.MIMEText, email.Utils |
|
67 | import email.MIMEMultipart, email.MIMEText, email.Utils | |
68 | from mercurial import cmdutil, commands, hg, mail, ui, patch |
|
68 | from mercurial import cmdutil, commands, hg, mail, ui, patch | |
69 | from mercurial.i18n import _ |
|
69 | from mercurial.i18n import _ |
@@ -6,7 +6,7 b'' | |||||
6 | # This software may be used and distributed according to the terms |
|
6 | # This software may be used and distributed according to the terms | |
7 | # of the GNU General Public License, incorporated herein by reference. |
|
7 | # of the GNU General Public License, incorporated herein by reference. | |
8 |
|
8 | |||
9 |
import socket, |
|
9 | import socket, cgi, errno | |
10 | from mercurial.i18n import gettext as _ |
|
10 | from mercurial.i18n import gettext as _ | |
11 |
|
11 | |||
12 | class wsgiapplication(object): |
|
12 | class wsgiapplication(object): |
@@ -6,7 +6,7 b'' | |||||
6 | # of the GNU General Public License, incorporated herein by reference. |
|
6 | # of the GNU General Public License, incorporated herein by reference. | |
7 |
|
7 | |||
8 | from i18n import _ |
|
8 | from i18n import _ | |
9 |
import os |
|
9 | import os, smtplib, templater, util | |
10 |
|
10 | |||
11 | def _smtp(ui): |
|
11 | def _smtp(ui): | |
12 | '''send mail using smtp.''' |
|
12 | '''send mail using smtp.''' |
@@ -8,7 +8,7 b'' | |||||
8 | from i18n import _ |
|
8 | from i18n import _ | |
9 | from node import * |
|
9 | from node import * | |
10 | import base85, cmdutil, mdiff, util |
|
10 | import base85, cmdutil, mdiff, util | |
11 |
import cStringIO, email.Parser, |
|
11 | import cStringIO, email.Parser, os, popen2, re, sha | |
12 | import sys, tempfile, zlib |
|
12 | import sys, tempfile, zlib | |
13 |
|
13 | |||
14 | # helper functions |
|
14 | # helper functions |
General Comments 0
You need to be logged in to leave comments.
Login now