##// END OF EJS Templates
Expand import * to allow Pyflakes to find problems
Joel Rosdahl -
r6211:f89fd07f default
parent child Browse files
Show More
@@ -46,7 +46,7 b''
46 46 # ** = user6
47 47
48 48 from mercurial.i18n import _
49 from mercurial.node import *
49 from mercurial.node import bin, short
50 50 from mercurial import util
51 51 import getpass
52 52
@@ -53,7 +53,7 b''
53 53 # committer_email = bugzilla_user_name
54 54
55 55 from mercurial.i18n import _
56 from mercurial.node import *
56 from mercurial.node import short
57 57 from mercurial import cmdutil, templater, util
58 58 import os, re, time
59 59
@@ -15,7 +15,7 b''
15 15
16 16 import os, time
17 17 from mercurial.i18n import _
18 from mercurial.node import *
18 from mercurial.node import bin, hex, nullid
19 19 from mercurial import hg, lock, revlog, util
20 20
21 21 from common import NoRepo, commit, converter_source, converter_sink
@@ -46,7 +46,7 b' pretty fast (at least faster than having'
46 46 '''
47 47
48 48 from mercurial.i18n import _
49 from mercurial.node import *
49 from mercurial.node import short
50 50 from mercurial import cmdutil, util, commands
51 51 import os, shlex, shutil, tempfile
52 52
@@ -6,7 +6,7 b''
6 6 # of the GNU General Public License, incorporated herein by reference.
7 7
8 8 from mercurial.i18n import _
9 from mercurial.node import *
9 from mercurial.node import nullid, short
10 10 from mercurial import commands, cmdutil, hg, node, util
11 11
12 12 def fetch(ui, repo, source='default', **opts):
@@ -6,7 +6,7 b' imerge - interactive merge'
6 6 '''
7 7
8 8 from mercurial.i18n import _
9 from mercurial.node import *
9 from mercurial.node import hex, short
10 10 from mercurial import commands, cmdutil, dispatch, fancyopts
11 11 from mercurial import hg, filemerge, util
12 12 import os, tarfile
@@ -81,7 +81,7 b" like CVS' $Log$, are not supported. A ke"
81 81 from mercurial import commands, cmdutil, context, dispatch, filelog, revlog
82 82 from mercurial import patch, localrepo, templater, templatefilters, util
83 83 from mercurial.hgweb import webcommands
84 from mercurial.node import *
84 from mercurial.node import nullid, hex
85 85 from mercurial.i18n import _
86 86 import re, shutil, tempfile, time
87 87
@@ -66,7 +66,7 b''
66 66 # push changes to, they can manage their own subscriptions.
67 67
68 68 from mercurial.i18n import _
69 from mercurial.node import *
69 from mercurial.node import bin, short
70 70 from mercurial import patch, cmdutil, templater, util, mail
71 71 import email.Parser, fnmatch, socket, time
72 72
@@ -69,7 +69,7 b' import email.MIMEMultipart, email.MIMETe'
69 69 import email.Utils, email.Encoders
70 70 from mercurial import cmdutil, commands, hg, mail, ui, patch, util
71 71 from mercurial.i18n import _
72 from mercurial.node import *
72 from mercurial.node import bin
73 73
74 74 def patchbomb(ui, repo, *revs, **opts):
75 75 '''send changesets by email
@@ -24,7 +24,7 b''
24 24
25 25 from mercurial import util, ui
26 26 from mercurial.i18n import gettext as _
27 from mercurial.node import *
27 from mercurial.node import bin, short
28 28 import re
29 29
30 30 # regexp for single LF without CR preceding.
@@ -6,7 +6,7 b''
6 6 # the GNU General Public License, incorporated herein by reference.
7 7
8 8 from i18n import _
9 from node import *
9 from node import hex
10 10 import cStringIO, os, stat, tarfile, time, util, zipfile
11 11 import zlib, gzip
12 12
@@ -10,7 +10,7 b' This software may be used and distribute'
10 10 of the GNU General Public License, incorporated herein by reference.
11 11 """
12 12
13 from node import *
13 from node import hex, nullid, short
14 14 from i18n import _
15 15 import changegroup, util, os, struct, bz2, tempfile, mdiff
16 16 import localrepo, changelog, manifest, filelog, revlog
@@ -5,7 +5,8 b''
5 5 # This software may be used and distributed according to the terms
6 6 # of the GNU General Public License, incorporated herein by reference.
7 7
8 from revlog import *
8 from node import bin, hex, nullid
9 from revlog import revlog
9 10 from i18n import _
10 11 import os, time, util
11 12
@@ -5,7 +5,7 b''
5 5 # This software may be used and distributed according to the terms
6 6 # of the GNU General Public License, incorporated herein by reference.
7 7
8 from node import *
8 from node import hex, nullid, nullrev, short
9 9 from i18n import _
10 10 import os, sys, bisect, stat
11 11 import mdiff, bdiff, util, templater, templatefilters, patch, errno
@@ -5,7 +5,7 b''
5 5 # This software may be used and distributed according to the terms
6 6 # of the GNU General Public License, incorporated herein by reference.
7 7
8 from node import *
8 from node import hex, nullid, nullrev, short
9 9 from i18n import _
10 10 import os, re, sys, urllib
11 11 import hg, util, revlog, bundlerepo, extensions
@@ -5,7 +5,7 b''
5 5 # This software may be used and distributed according to the terms
6 6 # of the GNU General Public License, incorporated herein by reference.
7 7
8 from node import *
8 from node import nullid, nullrev, short
9 9 from i18n import _
10 10 import ancestor, bdiff, repo, revlog, util, os, errno
11 11
@@ -7,7 +7,7 b' This software may be used and distribute'
7 7 of the GNU General Public License, incorporated herein by reference.
8 8 """
9 9
10 from node import *
10 from node import nullid
11 11 from i18n import _
12 12 import struct, os, time, bisect, stat, strutil, util, re, errno, ignore
13 13 import cStringIO, osutil
@@ -5,7 +5,6 b''
5 5 # This software may be used and distributed according to the terms
6 6 # of the GNU General Public License, incorporated herein by reference.
7 7
8 from node import *
9 8 from i18n import _
10 9 import os, sys, atexit, signal, pdb, traceback, socket, errno, shlex, time
11 10 import util, commands, hg, lock, fancyopts, revlog, version, extensions, hook
@@ -5,7 +5,8 b''
5 5 # This software may be used and distributed according to the terms
6 6 # of the GNU General Public License, incorporated herein by reference.
7 7
8 from revlog import *
8 from node import bin, nullid
9 from revlog import revlog
9 10 import os
10 11
11 12 class filelog(revlog):
@@ -5,7 +5,7 b''
5 5 # This software may be used and distributed according to the terms
6 6 # of the GNU General Public License, incorporated herein by reference.
7 7
8 from node import *
8 from node import nullrev
9 9 from i18n import _
10 10 import util, os, tempfile, context, simplemerge, re, filecmp
11 11
@@ -6,8 +6,8 b''
6 6 # This software may be used and distributed according to the terms
7 7 # of the GNU General Public License, incorporated herein by reference.
8 8
9 from node import *
10 from repo import *
9 from node import bin, hex, nullid, nullrev, short
10 from repo import NoCapability, RepoError
11 11 from i18n import _
12 12 import localrepo, bundlerepo, httprepo, sshrepo, statichttprepo
13 13 import errno, lock, os, shutil, util, extensions
@@ -7,7 +7,7 b''
7 7 # of the GNU General Public License, incorporated herein by reference.
8 8
9 9 import os, mimetypes, re
10 from mercurial.node import *
10 from mercurial.node import hex, nullid, short
11 11 from mercurial import mdiff, ui, hg, util, archival, patch, hook
12 12 from mercurial import revlog, templater, templatefilters, changegroup
13 13 from common import get_mtime, style_map, paritygen, countgen, get_contact
@@ -8,7 +8,7 b''
8 8 import cStringIO, zlib, bz2, tempfile, errno, os, sys
9 9 from mercurial import util, streamclone
10 10 from mercurial.i18n import gettext as _
11 from mercurial.node import *
11 from mercurial.node import bin, hex
12 12 from mercurial import changegroup as changegroupmod
13 13 from common import HTTP_OK, HTTP_NOT_FOUND, HTTP_SERVER_ERROR
14 14
@@ -6,8 +6,8 b''
6 6 # This software may be used and distributed according to the terms
7 7 # of the GNU General Public License, incorporated herein by reference.
8 8
9 from node import *
10 from remoterepo import *
9 from node import bin, hex
10 from remoterepo import remoterepository
11 11 from i18n import _
12 12 import repo, os, urllib, urllib2, urlparse, zlib, util, httplib
13 13 import errno, keepalive, tempfile, socket, changegroup
@@ -5,7 +5,7 b''
5 5 # This software may be used and distributed according to the terms
6 6 # of the GNU General Public License, incorporated herein by reference.
7 7
8 from node import *
8 from node import bin, hex, nullid, nullrev, short
9 9 from i18n import _
10 10 import repo, changegroup
11 11 import changelog, dirstate, filelog, manifest, context, weakref
@@ -5,7 +5,8 b''
5 5 # This software may be used and distributed according to the terms
6 6 # of the GNU General Public License, incorporated herein by reference.
7 7
8 from revlog import *
8 from node import bin, hex, nullid
9 from revlog import revlog, RevlogError
9 10 from i18n import _
10 11 import array, bisect, struct, mdiff
11 12
@@ -5,7 +5,7 b''
5 5 # This software may be used and distributed according to the terms
6 6 # of the GNU General Public License, incorporated herein by reference.
7 7
8 from node import *
8 from node import nullid, nullrev
9 9 from i18n import _
10 10 import errno, util, os, heapq, filemerge
11 11
@@ -7,7 +7,7 b''
7 7 # of the GNU General Public License, incorporated herein by reference.
8 8
9 9 from i18n import _
10 from node import *
10 from node import hex, nullid, short
11 11 import base85, cmdutil, mdiff, util, context, revlog, diffhelpers
12 12 import cStringIO, email.Parser, os, popen2, re, sha, errno
13 13 import sys, tempfile, zlib
@@ -7,7 +7,7 b''
7 7 # of the GNU General Public License, incorporated herein by reference.
8 8
9 9 import changegroup, os
10 from node import *
10 from node import nullrev, short
11 11
12 12 def _bundle(repo, bases, heads, node, suffix, extranodes=None):
13 13 """create a bundle with the specified revisions as a backup"""
@@ -10,7 +10,7 b' This software may be used and distribute'
10 10 of the GNU General Public License, incorporated herein by reference.
11 11 """
12 12
13 from node import *
13 from node import bin, hex, nullid, nullrev, short
14 14 from i18n import _
15 15 import binascii, changegroup, errno, ancestor, mdiff, os
16 16 import sha, struct, util, zlib
@@ -5,8 +5,8 b''
5 5 # This software may be used and distributed according to the terms
6 6 # of the GNU General Public License, incorporated herein by reference.
7 7
8 from node import *
9 from remoterepo import *
8 from node import bin, hex
9 from remoterepo import remotelock, remoterepository
10 10 from i18n import _
11 11 import repo, os, re, stat, util
12 12
@@ -7,7 +7,7 b''
7 7 # of the GNU General Public License, incorporated herein by reference.
8 8
9 9 from i18n import _
10 from node import *
10 from node import bin, hex
11 11 import os, streamclone, sys, tempfile, util, hook
12 12
13 13 class sshserver(object):
@@ -5,7 +5,7 b''
5 5 # This software may be used and distributed according to the terms
6 6 # of the GNU General Public License, incorporated herein by reference.
7 7
8 from node import *
8 from node import nullid, short
9 9 from i18n import _
10 10 import revlog
11 11
General Comments 0
You need to be logged in to leave comments. Login now