Fix mirror mode

Change-Id: Ica0e8392562a7ae5aad7e45441c1540e5e2b0238
This commit is contained in:
Shawn O. Pearce 2012-08-02 11:46:22 -07:00
parent e0904f721b
commit f35b2d9c31

View File

@ -432,7 +432,7 @@ class XmlManifest(object):
if name is None:
s = m_url.rindex('/') + 1
manifestUrl = self.manifestProject.config.GetString('remote.origin.url')
remote = _XmlRemote('origin', m_url[:s], manifestUrl)
remote = _XmlRemote('origin', fetch=m_url[:s], manifestUrl=manifestUrl)
name = m_url[s:]
if name.endswith('.git'):