diff options
Diffstat (limited to 'main.py')
-rwxr-xr-x | main.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -28,6 +28,7 @@ import re | |||
28 | import sys | 28 | import sys |
29 | 29 | ||
30 | from command import InteractiveCommand, PagedCommand | 30 | from command import InteractiveCommand, PagedCommand |
31 | from editor import Editor | ||
31 | from error import NoSuchProjectError | 32 | from error import NoSuchProjectError |
32 | from error import RepoChangedException | 33 | from error import RepoChangedException |
33 | from manifest import Manifest | 34 | from manifest import Manifest |
@@ -77,6 +78,7 @@ class _Repo(object): | |||
77 | 78 | ||
78 | cmd.repodir = self.repodir | 79 | cmd.repodir = self.repodir |
79 | cmd.manifest = Manifest(cmd.repodir) | 80 | cmd.manifest = Manifest(cmd.repodir) |
81 | Editor.globalConfig = cmd.manifest.globalConfig | ||
80 | 82 | ||
81 | if not gopts.no_pager and not isinstance(cmd, InteractiveCommand): | 83 | if not gopts.no_pager and not isinstance(cmd, InteractiveCommand): |
82 | config = cmd.manifest.globalConfig | 84 | config = cmd.manifest.globalConfig |