"View Conflicts" for Simulink Models is broken during rebase operations
조회 수: 9 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Create Large-Scale Model Components에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!