mirror of
https://github.com/Dev-Wiki/git-repo.git
synced 2025-12-14 00:24:05 +08:00
sync: Add support to dump a JSON event log of all sync events.
Change-Id: Id4852968ac1b2bf0093007cf2e5ca951ddab8b3b
This commit is contained in:
committed by
David Pursehouse
parent
fef9f21b28
commit
e0684addee
@@ -110,7 +110,8 @@ class _XmlRemote(object):
|
||||
return url
|
||||
|
||||
def ToRemoteSpec(self, projectName):
|
||||
url = self.resolvedFetchUrl.rstrip('/') + '/' + projectName
|
||||
fetchUrl = self.resolvedFetchUrl.rstrip('/')
|
||||
url = fetchUrl + '/' + projectName
|
||||
remoteName = self.name
|
||||
if self.remoteAlias:
|
||||
remoteName = self.remoteAlias
|
||||
@@ -118,7 +119,8 @@ class _XmlRemote(object):
|
||||
url=url,
|
||||
pushUrl=self.pushUrl,
|
||||
review=self.reviewUrl,
|
||||
orig_name=self.name)
|
||||
orig_name=self.name,
|
||||
fetchUrl=self.fetchUrl)
|
||||
|
||||
class XmlManifest(object):
|
||||
"""manages the repo configuration file"""
|
||||
|
||||
Reference in New Issue
Block a user