How to use command line svn with builtin MATLAB integration?
26 views (last 30 days)
Show older comments
MATLAB ships with a built in source controle integrations with svn or git.
I am using svn, which works fine in MATLAB via the filebrowser.
Can I invoke svn by a command line prompt? The answer here suggests it should be possible
Also the MATLAB help gives an example of the command to manually register binary files:
svn propset svn:mime-type application/octet-stream binaryfilename
But how can I use this svn command? svn does not work at the MATLAB prompt, nor at the system prompt. I searched for .exe files containing svn on my system disk but could not find it. I have not attempted to install svn myself - I am relying on the instance that comes with a MATLAB install.
Thanks if you can help!
0 Comments
Answers (2)
Chidvi Modala
on 8 Mar 2021
You might need to install an SVN command-line client to use the "Command-Line SVN Integration" with MATLAB. You may refer to the SVN Source Control Options in this documentation
Per-Anders Ekstrom
on 2 Apr 2023
Maybe a little late for you Julian, 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.
0 Comments
See Also
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!