How does <remove-project> work in repo manifest?

Issue

I’ve been using repo for quiet a long time now but never bothered to know what <remove-project> in manifest.xml does.

What does <remove-project> do — it doesn’t download the project at all or it downloads it but removes it from codebase later?

It’s here somewhere but I’m pretty bad at reading python.

Solution

https://gerrit.googlesource.com/git-repo/+/master/docs/manifest-format.md#Element-remove_project

Element remove-project

Deletes the named project from the internal manifest table, possibly allowing a subsequent project element in the same manifest file to replace the project with a different source.

This element is mostly useful in a local manifest file, where the user can remove a project, and possibly replace it with their own definition.

Answered By – phd

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published