Skip to content

Merge-commit <hash> can't be remerged if none of its parents was seen in the rebase #8344

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

Open
Byron opened this issue Apr 30, 2025 · 1 comment

Comments

@Byron
Copy link
Collaborator

Byron commented Apr 30, 2025

From Discord.

Not sure if this already came up: When I try to update my workspace (via the Update button), I get an error with the following message:
Merge-commit 8c1954309f6e37ec856b1017c5c2ae6f548eebc0 can't be remerged if none of its parents was seen in the rebase (to be replaced with this new commit)

However, if I unapply my currently applied branch, then update my workspace, and then reapply the branch, everything works.

Theory:

This looks like V2 'update integration branch' code runs V3 rebase code. There one could be on the lookout for the infamous base_substitute.
Maybe that's not easy to do as the V3 rebase is launched from cherry-rebase-group.
In any case, next time we have a repo that runs into that we should keep it so it can be patched while we wait for the pure V3 version of the same functionality.

@mtsgrd
Copy link
Contributor

mtsgrd commented May 2, 2025

@H1ghBre4k3r I've run into something similar, when I had a branch checked out with a base newer than the workspace. Is there any chance that was the case for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants