Loading tools/repopick.py +2 −1 Original line number Diff line number Diff line Loading @@ -210,7 +210,7 @@ if __name__ == '__main__': xml_root = ElementTree.fromstring(manifest) projects = xml_root.findall('project') remotes = xml_root.findall('remote') default_revision = xml_root.findall('default')[0].get('revision').split('/')[-1] default_revision = xml_root.findall('default')[0].get('revision') #dump project data into the a list of dicts with the following data: #{project: {path, revision}} Loading @@ -228,6 +228,7 @@ if __name__ == '__main__': if not name in project_name_to_data: project_name_to_data[name] = {} revision = revision.split('refs/heads/')[-1] project_name_to_data[name][revision] = path # get data on requested changes Loading Loading
tools/repopick.py +2 −1 Original line number Diff line number Diff line Loading @@ -210,7 +210,7 @@ if __name__ == '__main__': xml_root = ElementTree.fromstring(manifest) projects = xml_root.findall('project') remotes = xml_root.findall('remote') default_revision = xml_root.findall('default')[0].get('revision').split('/')[-1] default_revision = xml_root.findall('default')[0].get('revision') #dump project data into the a list of dicts with the following data: #{project: {path, revision}} Loading @@ -228,6 +228,7 @@ if __name__ == '__main__': if not name in project_name_to_data: project_name_to_data[name] = {} revision = revision.split('refs/heads/')[-1] project_name_to_data[name][revision] = path # get data on requested changes Loading