From 33e045673786f3477e805ade0f337de08e89a7a8 Mon Sep 17 00:00:00 2001 From: Brian Harring Date: Tue, 25 Dec 2012 06:32:27 -0800 Subject: [PATCH] Fix `repo manifest` support of remote aliases. Long story short, w/out this modification the manifest dump points at the alias, rather than the actual remote for the project. This breaks sync'ing for scenarios where the alias doesn't have the same repos available as the remote, plus just plain is wrong. Change-Id: I7150e449341ed8655d398956a095261978d95870 --- manifest_xml.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/manifest_xml.py b/manifest_xml.py index 50417c60..92ef7859 100644 --- a/manifest_xml.py +++ b/manifest_xml.py @@ -82,8 +82,6 @@ class _XmlRemote(object): def ToRemoteSpec(self, projectName): url = self.resolvedFetchUrl.rstrip('/') + '/' + projectName remoteName = self.name - if self.remoteAlias: - remoteName = self.remoteAlias return RemoteSpec(remoteName, url, self.reviewUrl) class XmlManifest(object):