How do I create a project reference to a specific revision of another project under SVN source control?

2 vues (au cours des 30 derniers jours)
I have two projects under SVN source control. I would like to reference a specific version of one project from another. How can I do this in MATLAB?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 21 Mai 2020
This can be done by using SVN externals:
This will allow you to create a subfolder in your current directory that contains a reference to another SVN repository. You may also choose the specific revision when creating the SVN external.
After creating this subfolder, you can create a project reference to the project inside the created sublfolder.
Alternatively, you may check out the specific revision of the project to-be-referenced, then create a project reference to the checked out copy.
  1 commentaire
Jan Kappen
Jan Kappen le 9 Juil 2020
Modifié(e) : Jan Kappen le 9 Juil 2020
SVN and GIT are usually not recommended to be used as dependency management tools, e.g. see here https://www.atlassian.com/git/articles/git-and-project-dependencies
This is a pretty awful workaround, sorry.
Is there any dependency management built in into Matlab? If not I really wonder how big projects are handled.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Source Control Integration dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by