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
2020-5-21
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
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 Center 和 File Exchange 中查找有关 Source Control Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!