| Summary: | Can't merge/interact with two branches with unrelated histories | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Remy Suen <remy.suen> | ||||
| Component: | Git | Assignee: | Remy Suen <remy.suen> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 14.0 | ||||||
| Target Milestone: | 15.0 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Remy Suen
Actually, I guess this doesn't technically block bug 510062 as the code is in two different places. The code dies while trying to compare the two branches because a common ancestor can't be found between them for calculating the number of "incoming" and "outgoing" changes. https://github.com/eclipse/orion.client/blob/6811b5a95ee231658a8446eab4e81a23dd96cc87/modules/orionode/lib/git/commit.js#L523-L525 The promise handling isn't quite right (or maybe it's intentional I don't know) so the "No merge base found" error message from NodeGit never gets propagated back so there's nothing in the browser or server logs. Fix pushed to master. https://github.com/eclipse/orion.client/commit/2337ad37ca02898d8bd3ebb670cf09d85874a089 |