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

2 次查看(过去 30 天)
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?

采纳的回答

MathWorks Support Team
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 个评论
Jan Kappen
Jan Kappen 2020-7-9
编辑:Jan Kappen 2020-7-9
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Source Control Integration 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by