diff options
author | Shawn O. Pearce <sop@google.com> | 2009-05-19 14:58:02 -0700 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2009-05-29 09:31:28 -0700 |
commit | d1f70d9929ddd2748ccc9c1dd2f9603068e1f3e6 (patch) | |
tree | 746fa0d1ace702f114357d1798bc67eddd1b79a9 /subcmds/init.py | |
parent | c8a300f6397dad7db00c3654ff6e50e9519ed7c9 (diff) | |
download | git-repo-d1f70d9929ddd2748ccc9c1dd2f9603068e1f3e6.tar.gz |
Refactor how projects parse remotes so it can be replaced
We now feed Project a RemoteSpec, instead of the Remote directly
from the XmlManifest. This way the RemoteSpec already has the
full project URL, rather than just the base, permitting other
types of manifests to produce the URL in their own style.
Signed-off-by: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'subcmds/init.py')
-rw-r--r-- | subcmds/init.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/subcmds/init.py b/subcmds/init.py index 90b76e8b..0d0fcd06 100644 --- a/subcmds/init.py +++ b/subcmds/init.py | |||
@@ -19,7 +19,6 @@ import sys | |||
19 | from color import Coloring | 19 | from color import Coloring |
20 | from command import InteractiveCommand, MirrorSafeCommand | 20 | from command import InteractiveCommand, MirrorSafeCommand |
21 | from error import ManifestParseError | 21 | from error import ManifestParseError |
22 | from remote import Remote | ||
23 | from project import SyncBuffer | 22 | from project import SyncBuffer |
24 | from git_command import git, MIN_GIT_VERSION | 23 | from git_command import git, MIN_GIT_VERSION |
25 | 24 | ||