diff options
-rw-r--r-- | color.py | 1 | ||||
-rw-r--r-- | git_refs.py | 1 | ||||
-rwxr-xr-x | main.py | 1 | ||||
-rw-r--r-- | manifest_xml.py | 2 | ||||
-rw-r--r-- | project.py | 4 | ||||
-rw-r--r-- | subcmds/cherry_pick.py | 2 | ||||
-rw-r--r-- | subcmds/download.py | 1 | ||||
-rw-r--r-- | subcmds/grep.py | 1 | ||||
-rw-r--r-- | subcmds/rebase.py | 2 |
9 files changed, 3 insertions, 12 deletions
@@ -17,7 +17,6 @@ import os | |||
17 | import sys | 17 | import sys |
18 | 18 | ||
19 | import pager | 19 | import pager |
20 | from git_config import GitConfig | ||
21 | 20 | ||
22 | COLORS = {None :-1, | 21 | COLORS = {None :-1, |
23 | 'normal' :-1, | 22 | 'normal' :-1, |
diff --git a/git_refs.py b/git_refs.py index 0e3cc820..11241438 100644 --- a/git_refs.py +++ b/git_refs.py | |||
@@ -14,7 +14,6 @@ | |||
14 | # limitations under the License. | 14 | # limitations under the License. |
15 | 15 | ||
16 | import os | 16 | import os |
17 | import sys | ||
18 | from trace import Trace | 17 | from trace import Trace |
19 | 18 | ||
20 | HEAD = 'HEAD' | 19 | HEAD = 'HEAD' |
@@ -35,7 +35,6 @@ from git_command import git, GitCommand | |||
35 | from git_config import init_ssh, close_ssh | 35 | from git_config import init_ssh, close_ssh |
36 | from command import InteractiveCommand | 36 | from command import InteractiveCommand |
37 | from command import MirrorSafeCommand | 37 | from command import MirrorSafeCommand |
38 | from command import PagedCommand | ||
39 | from subcmds.version import Version | 38 | from subcmds.version import Version |
40 | from editor import Editor | 39 | from editor import Editor |
41 | from error import DownloadError | 40 | from error import DownloadError |
diff --git a/manifest_xml.py b/manifest_xml.py index 26cc14f6..205e4af7 100644 --- a/manifest_xml.py +++ b/manifest_xml.py | |||
@@ -20,7 +20,7 @@ import sys | |||
20 | import urlparse | 20 | import urlparse |
21 | import xml.dom.minidom | 21 | import xml.dom.minidom |
22 | 22 | ||
23 | from git_config import GitConfig, IsId | 23 | from git_config import GitConfig |
24 | from project import RemoteSpec, Project, MetaProject, R_HEADS, HEAD | 24 | from project import RemoteSpec, Project, MetaProject, R_HEADS, HEAD |
25 | from error import ManifestParseError | 25 | from error import ManifestParseError |
26 | 26 | ||
@@ -27,10 +27,8 @@ import time | |||
27 | from color import Coloring | 27 | from color import Coloring |
28 | from git_command import GitCommand | 28 | from git_command import GitCommand |
29 | from git_config import GitConfig, IsId, GetSchemeFromUrl, ID_RE | 29 | from git_config import GitConfig, IsId, GetSchemeFromUrl, ID_RE |
30 | from error import DownloadError | 30 | from error import GitError, HookError, UploadError |
31 | from error import GitError, HookError, ImportError, UploadError | ||
32 | from error import ManifestInvalidRevisionError | 31 | from error import ManifestInvalidRevisionError |
33 | from progress import Progress | ||
34 | from trace import IsTrace, Trace | 32 | from trace import IsTrace, Trace |
35 | 33 | ||
36 | from git_refs import GitRefs, HEAD, R_HEADS, R_TAGS, R_PUB, R_M | 34 | from git_refs import GitRefs, HEAD, R_HEADS, R_TAGS, R_PUB, R_M |
diff --git a/subcmds/cherry_pick.py b/subcmds/cherry_pick.py index 8da3a750..7890af4d 100644 --- a/subcmds/cherry_pick.py +++ b/subcmds/cherry_pick.py | |||
@@ -13,7 +13,7 @@ | |||
13 | # See the License for the specific language governing permissions and | 13 | # See the License for the specific language governing permissions and |
14 | # limitations under the License. | 14 | # limitations under the License. |
15 | 15 | ||
16 | import sys, re, string, random, os | 16 | import sys, re |
17 | from command import Command | 17 | from command import Command |
18 | from git_command import GitCommand | 18 | from git_command import GitCommand |
19 | 19 | ||
diff --git a/subcmds/download.py b/subcmds/download.py index 0ea45c3f..0abe90d0 100644 --- a/subcmds/download.py +++ b/subcmds/download.py | |||
@@ -13,7 +13,6 @@ | |||
13 | # See the License for the specific language governing permissions and | 13 | # See the License for the specific language governing permissions and |
14 | # limitations under the License. | 14 | # limitations under the License. |
15 | 15 | ||
16 | import os | ||
17 | import re | 16 | import re |
18 | import sys | 17 | import sys |
19 | 18 | ||
diff --git a/subcmds/grep.py b/subcmds/grep.py index 1cb5650b..0dc8f9f6 100644 --- a/subcmds/grep.py +++ b/subcmds/grep.py | |||
@@ -14,7 +14,6 @@ | |||
14 | # limitations under the License. | 14 | # limitations under the License. |
15 | 15 | ||
16 | import sys | 16 | import sys |
17 | from optparse import SUPPRESS_HELP | ||
18 | from color import Coloring | 17 | from color import Coloring |
19 | from command import PagedCommand | 18 | from command import PagedCommand |
20 | from git_command import git_require, GitCommand | 19 | from git_command import git_require, GitCommand |
diff --git a/subcmds/rebase.py b/subcmds/rebase.py index 20662b11..2c1752d7 100644 --- a/subcmds/rebase.py +++ b/subcmds/rebase.py | |||
@@ -17,8 +17,6 @@ import sys | |||
17 | 17 | ||
18 | from command import Command | 18 | from command import Command |
19 | from git_command import GitCommand | 19 | from git_command import GitCommand |
20 | from git_refs import GitRefs, HEAD, R_HEADS, R_TAGS, R_PUB, R_M | ||
21 | from error import GitError | ||
22 | 20 | ||
23 | class Rebase(Command): | 21 | class Rebase(Command): |
24 | common = True | 22 | common = True |