roomservice: Skip setting revision if it's the same as default
Change-Id: I8bcb638c1c395ae460363c626be45727c10c6db7
This commit is contained in:
@@ -188,6 +188,8 @@ def add_to_manifest(repositories):
|
|||||||
project.attrib["remote"] = repo_remote
|
project.attrib["remote"] = repo_remote
|
||||||
project.attrib["clone-depth"] = "1"
|
project.attrib["clone-depth"] = "1"
|
||||||
del project.attrib["revision"]
|
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"]))
|
print("Adding dependency: %s -> %s" % (project.attrib["name"], project.attrib["path"]))
|
||||||
lm.append(project)
|
lm.append(project)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user