Skip to content

cherry_picker fails on branch cleanup in non-main worktreeΒ #17

@serhiy-storchaka

Description

@serhiy-storchaka

Every time when I run cherry_picker I get the following error:

🐍 πŸ’ ⛏
Usage: cherry_picker [OPTIONS] [COMMIT_SHA1] [BRANCHES]...
Try "cherry_picker -h" for help.

Error: Run state cherry-picker.state=CHECKING_OUT_DEFAULT_BRANCH in Git config is not known.
Perhaps it has been set by a newer version of cherry-picker. Try upgrading.
Valid states are: BACKPORT_PAUSED, UNSET. If this looks suspicious, raise an issue at https://github.com/python/core-workflow/issues/new.
As the last resort you can reset the runtime state stored in Git config using the following command: `git config --local --remove-section cherry-picker`

cherry_picker has been updated, it is 1.3.2.

Every time I need to run git config --local --remove-section cherry-picker to make cherry_picker working. This becomes annoying. Can it be fixed permanently?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions