summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
authorFredrik de Groot <fredrik.de.groot@aptiv.com>2023-05-31 16:56:34 +0200
committerMike Frysinger <vapier@google.com>2023-06-21 14:50:16 +0000
commitbe71c2f80fa115e8256211fd0e3116d93cfae93e (patch)
tree39769fb002ec24d520abde60cf6b0614c4c02558 /project.py
parent696e0c48a9de4d20f3de65bc014ca2991d16f041 (diff)
downloadgit-repo-be71c2f80fa115e8256211fd0e3116d93cfae93e.tar.gz
manifest: enable remove-project using path
A something.xml that gets included by two different files, that both remove and add same shared project to two different locations, would not work prior to this change. Reason is that remove killed all name keys, even though reuse of same repo in different locations is allowed. Solve by adding optional attrib path to <remove-project name="foo" path="only_this_path" /> and tweak remove-project. Behaves as before without path, and deletes more selectively when remove path is supplied. As secondary feature, a project can now also be removed by only using path, assuming a matching project name can be found. Change-Id: I502d9f949f5d858ddc1503846b170473f76dc8e2 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/375694 Tested-by: Fredrik de Groot <fredrik.de.groot@aptiv.com> Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'project.py')
0 files changed, 0 insertions, 0 deletions