Azzera filtri
Azzera filtri

"View Conflicts" for Simulink Models is broken during rebase operations

9 visualizzazioni (ultimi 30 giorni)
If I make changes to a Simulink model in my branch and then rebase onto another branch that also made changes to the same Simulink model, I get a merge conflict. If I go to MATLAB and right click the file and go to Source Control -> View Conflicts, the 3 way merge tool picks up the wrong base/local/remote and so it's not very useful. The "base" is actually the branch I'm trying to rebase onto, 'theirs' is the branch I was on, and 'mine' looks like the branch I'm trying to rebase onto again.
I've found a workaround by using git mergetool to create BASE, LOCAL, REMOTE, and BACKUP files and then calling slxmlcomp.slMerge with (model_base, model_remote, model_local, model), but I wonder if MATLAB might get an update where it could recognize that a rebase is happening and apply the correct local/base/remote?

Risposte (0)

Categorie

Scopri di più su Create Large-Scale Model Components in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by