Skip to content

fix(checkout-reset), write deleted main-component when on a lane #9533

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

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

davidfirst
Copy link
Member

bit checkout reset --all rewrites deleted component dirs.
Currently, when running it and a non-lane component is deleted when the workspace is on a lane, this component is not written.
The reason is that when on a lane, the ids used by this command are the ids from the lane. While this is the expected behavior for bit checkout head, it's not the case for bit checkout reset.
This PR changes it so that all workspace ids are used for the checkout-reset.

@davidfirst davidfirst enabled auto-merge (squash) February 6, 2025 22:38
@davidfirst davidfirst merged commit f42ddda into master Feb 6, 2025
10 checks passed
@davidfirst davidfirst deleted the reset-all-main-on-lane branch February 6, 2025 23:52
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

Successfully merging this pull request may close these issues.

2 participants