summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
authorMichael Kelly <mkelly@arista.com>2021-06-30 01:58:28 -0700
committerMichael Kelly <mkelly@arista.com>2021-07-08 16:48:21 +0000
commit06da9987f6be6ddc1637e8ae02646d6dfab09862 (patch)
treebe93f68a568f27341b61fa367a42dcdfe75df234 /project.py
parent58929732123780497ba08ed9c2d24f4bc65971a1 (diff)
downloadgit-repo-06da9987f6be6ddc1637e8ae02646d6dfab09862.tar.gz
Gracefully ignore bad remove-project line
Sometimes, we don't care if the remove project is referring to a non-existing project and we can just ignore it. This change allows us to ignore remove-project entries if the project that they refer to doesn't exist, making them effectively a no-op. Because this change breaks existing configuration, we allow this to be configuration controlled using the `optional` attribute in the remove-project tag. Change-Id: I6313a02983e81344eadcb4e47d7d6b037ee7420e Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/310964 Tested-by: Michael Kelly <mkelly@arista.com> Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'project.py')
0 files changed, 0 insertions, 0 deletions