diff options
Diffstat (limited to 'main.py')
-rwxr-xr-x | main.py | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -32,11 +32,9 @@ from git_config import init_ssh, close_ssh | |||
32 | from command import InteractiveCommand | 32 | from command import InteractiveCommand |
33 | from command import MirrorSafeCommand | 33 | from command import MirrorSafeCommand |
34 | from command import PagedCommand | 34 | from command import PagedCommand |
35 | from editor import Editor | ||
36 | from error import ManifestInvalidRevisionError | 35 | from error import ManifestInvalidRevisionError |
37 | from error import NoSuchProjectError | 36 | from error import NoSuchProjectError |
38 | from error import RepoChangedException | 37 | from error import RepoChangedException |
39 | from manifest_xml import XmlManifest | ||
40 | from pager import RunPager | 38 | from pager import RunPager |
41 | 39 | ||
42 | from subcmds import all as all_commands | 40 | from subcmds import all as all_commands |
@@ -99,8 +97,6 @@ class _Repo(object): | |||
99 | sys.exit(1) | 97 | sys.exit(1) |
100 | 98 | ||
101 | cmd.repodir = self.repodir | 99 | cmd.repodir = self.repodir |
102 | cmd.manifest = XmlManifest(cmd.repodir) | ||
103 | Editor.globalConfig = cmd.manifest.globalConfig | ||
104 | 100 | ||
105 | if not isinstance(cmd, MirrorSafeCommand) and cmd.manifest.IsMirror: | 101 | if not isinstance(cmd, MirrorSafeCommand) and cmd.manifest.IsMirror: |
106 | print >>sys.stderr, \ | 102 | print >>sys.stderr, \ |