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

2 views (last 30 days)
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?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 21 May 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 Comment
Jan Kappen
Jan Kappen on 9 Jul 2020
Edited: Jan Kappen on 9 Jul 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.

Sign in to comment.

More Answers (0)

Categories

Find more on Source Control Integration in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!