roomservice: Skip setting revision if it's the same as default
Change-Id: I8bcb638c1c395ae460363c626be45727c10c6db7
This commit is contained in:
parent
ff19773ea4
commit
caae07034a
1 changed files with 2 additions and 0 deletions
|
|
@ -188,6 +188,8 @@ def add_to_manifest(repositories):
|
|||
project.attrib["remote"] = repo_remote
|
||||
project.attrib["clone-depth"] = "1"
|
||||
del project.attrib["revision"]
|
||||
if project.attrib["revision"] == get_default_revision():
|
||||
del project.attrib["revision"]
|
||||
print("Adding dependency: %s -> %s" % (project.attrib["name"], project.attrib["path"]))
|
||||
lm.append(project)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue