[sapui5] How to work around “multiple merge bases” error in EGit Eclipse plugin?

Hi,

When I pull remote repository to my local branch in SAP Web Ide, I’ve got this problem with GIT:
3:13:49 PM (git) Pull request failed No merge base could be determined. Reason=CONFLICTS_DURING_MERGE_BASE_CALCULATION. "More than 200 merge bases for:
a ac84124fd128aa579db65693b36be11b5d9a3575
b 1b9e27eb78bed7f9ec40517fee32dfb0a5504ef7 found:
count 2"
I’ve searched but found no solution, the only solution is mentioned here.
They suggest to update the git version to higher version, but it seems unable to do so in sap web IDE. The Web IDE also does not support git command line so there’s no solution to get over this bug.
(my remote repository is bitbucket)

Solution

It's pretty weird, I'm not really sure.
But to get over it, you can try:
- cherry-pick from your latest commit in your local branch.
- fix the conflict.
- Commit to a new one (or append your latest commit).
- Try to pull again (it should be successfully right after you commit the new one).
- Push again.

This is how the git branch map looks like: (quite confusing)

---V---

Nhận xét

Bài đăng phổ biến từ blog này

Tại sao lại chụp ảnh theo bố cục 1/3 ?

[sapui5] Best Practice in sapui5 development

Implement Search field with case-INSENSITIVE by SAP UI5