Skip to content

Commit

Permalink
roomservice: Skip setting revision if it's the same as default
Browse files Browse the repository at this point in the history
Change-Id: I8bcb638c1c395ae460363c626be45727c10c6db7
  • Loading branch information
luk1337 committed Jan 22, 2025
1 parent ff19773 commit caae070
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/tools/roomservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit caae070

Please sign in to comment.