summaryrefslogtreecommitdiffstats
path: root/subcmds/init.py
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2009-05-19 14:58:02 -0700
committerShawn O. Pearce <sop@google.com>2009-05-29 09:31:28 -0700
commitd1f70d9929ddd2748ccc9c1dd2f9603068e1f3e6 (patch)
tree746fa0d1ace702f114357d1798bc67eddd1b79a9 /subcmds/init.py
parentc8a300f6397dad7db00c3654ff6e50e9519ed7c9 (diff)
downloadgit-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.py1
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
19from color import Coloring 19from color import Coloring
20from command import InteractiveCommand, MirrorSafeCommand 20from command import InteractiveCommand, MirrorSafeCommand
21from error import ManifestParseError 21from error import ManifestParseError
22from remote import Remote
23from project import SyncBuffer 22from project import SyncBuffer
24from git_command import git, MIN_GIT_VERSION 23from git_command import git, MIN_GIT_VERSION
25 24