Is it possible to do a SVN update from command window / m-files?
Show older comments
Is there any "SVN-update from repository" command that can be used from command window? The only thing I find in the documentation is the "right click and choose Source control --> SVN update" or similar.
Accepted Answer
More Answers (1)
Per-Anders Ekstrom
on 2 Apr 2023
Maybe a little late answer for you, but this code might help anybody that wants to perform SVN-operations from the command line. The code make use of the already built-in subversion support (SVNKit) that is used by the graphical user interface, and thus, no installing of any external SVN command-line clients is required.
For an update of the current working directory:
>> jsvn update .
Categories
Find more on Source Control in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!