Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(merge-tool): Get full history of merged entities #431

Merged
merged 1 commit into from
May 27, 2020

Conversation

MonkeyDo
Copy link
Contributor

Fixes shortcomings of PR #430.
The issue was that previously merged entities do not point to newly merged entity BBID.
For example, if entity A was merged into entity B, BBID A will point to BBID B.
Now if entity B is merged in entity C, BBID B will point to BBID C.
To allow for reverting merges cleanly, BBID A still points to B and not C (this allows us to revet the merge of B -> C while keeping the merge A-> B).
In order to fetch the complete history tree containing all three entities, we need to recursively check if a source_bbid appears as a target_bbid in other rows.

Including previously merged entities that point to a merged entity
@coveralls
Copy link

coveralls commented May 27, 2020

Coverage Status

Coverage increased (+0.04%) to 60.264% when pulling 3286e3c on full-merged-history into a519e82 on master.

@MonkeyDo MonkeyDo merged commit 8ba33fe into master May 27, 2020
@MonkeyDo MonkeyDo deleted the full-merged-history branch May 27, 2020 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants