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>
This commit is contained in:
parent
c8a300f639
commit
d1f70d9929
4 changed files with 33 additions and 41 deletions
|
@ -19,7 +19,6 @@ import sys
|
|||
from color import Coloring
|
||||
from command import InteractiveCommand, MirrorSafeCommand
|
||||
from error import ManifestParseError
|
||||
from remote import Remote
|
||||
from project import SyncBuffer
|
||||
from git_command import git, MIN_GIT_VERSION
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue