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

Remove initial_state as it gets out of sync with what's in .git/config #88

Merged
merged 2 commits into from Oct 11, 2023

Conversation

ambv
Copy link
Contributor

@ambv ambv commented Oct 11, 2023

Currently, miss-islington use of cherry-picker is aborting the cherry pick in case of conflicts. This doesn't work because self.initial_state is not being updated after conflicts are discovered by cherry-picker, and so the abort is raising a ValueError from the guard at the start of abort_cherry_pick().

Since self.initial_state is only used for those guards, let's just remove it and read from .git/config every time.

@Mariatta Mariatta mentioned this pull request Oct 11, 2023
@Mariatta Mariatta merged commit b471da1 into main Oct 11, 2023
41 checks passed
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.

None yet

2 participants