Merging .mlapp files via SVN

Is it possible to merge .mlapp files with svn? I'm using Tortoise SVN and already set the MatLab comparison tool as an external diff using the instrucions specified here. But when I try to update/commit them and there's a new version by another user in the target folder I get an error message by Toroise SVN saying there is a conflict between the two revisions. Resolving the conflict leads me to the MatLab comparison tool in which the merge button is missing. So effectively I am unable to merge the two revisions. Am I doing something wrong?

1 Comment

Benno, I'm having the same issue, but using Git. I don't believe that we can currently merge .mlapp files, only compare. I read through the documentation carefully after running to the issue and the subtitles are:
Compare and Merge Text
Compare and Merge Live Code
Compare and Merge MAT-Files
Compare Binary Files
I think that the last subtitle is purposefully missing the word "Merge." This is a problem that needs to be fixed....

Sign in to comment.

Answers (1)

Mark Eigenraam
Mark Eigenraam on 1 Mar 2022
Yes, we are finding this to be an issue as well. We cannot doa DIFF in Tortoise and the mlapp files are binary? This is a real issue of concern!

4 Comments

Hi Mark,
You can diff and merge MLAPP files starting in MATLAB 2020b, at least from within MATLAB:
Good luck!
-Jim
Hi Jim,
thanks for the help. From within Matlab I am trying to do a diff on a file but get the following error message. It is very difficult to change the SVN URL!
It is not happy with the ^
Is that indicating a control-E?
You should percent-encode the same way that you have %20 to encode the space.
thanks Walter, the SVN source control dir in Tortoise is: https://subversion.assembla.com/svn/ideea%5EEnSym
and this is it in Assembla
it seems Matlab does seem to be dealing with it?

Sign in to comment.

Categories

Find more on Create Large-Scale Model Components in Help Center and File Exchange

Products

Release

R2018a

Asked:

on 6 Sep 2018

Commented:

on 2 Mar 2022

Community Treasure Hunt

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

Start Hunting!