print"Default revision %s not found in %s. Bailing."%(default_revision,repo_name)
print"Branches found:"
print("Default revision %s not found in %s. Bailing."%(default_revision,repo_name))
print("Branches found:")
forbranchin[branch['name']forbranchinresult]:
printbranch
print"Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches."
print(branch)
print("Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.")
sys.exit()
add_to_manifest([adding],fallback_branch)
print"Syncing repository to retrieve project."
print("Syncing repository to retrieve project.")
os.system('repo sync %s'%repo_path)
print"Repository synced!"
print("Repository synced!")
fetch_dependencies(repo_path,fallback_branch)
print"Done"
print("Done")
sys.exit()
print"Repository for %s not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml."%device
print("Repository for %s not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml."%device)