Skip to content

[rebase] Disable Abort button after first click #7104

Closed

Description

@tierninho

I noticed that you can click the Abort button (during a rebase conflict) more than once, which leads to a A lock file already exists in the repository, which blocks this operation from completing.) error surfacing. Perhaps we need to disable it, although I am have no strong feels on this bug as it is unlikely to happen and the recovery is easy.

Repro:

  • pull up Rebase conflict
  • double or triple-click Abort button

Tried to repro it on merge conflict flow, but could not.

image

8b061ea, mac

Activity

  1. added
    bug
    priority-3
    on Mar 15, 2019
  2. added this to the 1.7.0 milestone on Mar 15, 2019
  3. changed the title [-]Disable Abort button after first click[/-] [+][rebase] Disable Abort button after first click[/+] on Mar 15, 2019
  4. billygriffin commented on Mar 15, 2019

    @billygriffin
    Contributor

    @tierninho Does this also occur in the regular merge conflict flow on abort?

  5. tierninho commented on Mar 15, 2019

    @tierninho
    ContributorAuthor

    No, tried to repro it on merge conflict flow but couldn't.

  6. self-assigned this
    on Mar 18, 2019
  7. shiftkey commented on Mar 18, 2019

    @shiftkey
    Member

    This flow has changed as part of #7117 and I'll retest this flow to ensure we're setting the correct state inside the new abort flow.

  8. tierninho commented on Mar 18, 2019

    @tierninho
    ContributorAuthor

    I was able to reproduce this in Merge conflicts flow, but only because the long lag in my Windows VM, otherwise it is very difficult to reproduce...

    Here is the error output:
    Screen Shot 2019-03-18 at 10 04 28 AM

    v1.6.5-beta2, windows 10

  9. shiftkey commented on Mar 21, 2019

    @shiftkey
    Member

    @tierninho @billygriffin #7117 has the changes to disable when aborting a rebase (both cases) - in particular 81f49bf and 1b73638. Once those land in development I'll update this issue to indicate that Merge Conflicts is the only remaining work, which makes me think it can be dropped from the milestone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugpriority-3

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions