Skip to content

[Bug] GetDiverging(pull) can lock pull in a 500 state #10117

Closed
@6543

Description

@6543

if zwo threads add remote repo to pullBase repo they can lock it

2020/02/03 02:47:28 routers/repo/pull.go:392:PrepareViewPullInfo() [E] GetDiverging: headGitRepo.AddRemote: exit status 128 - fatal: remote tmp-pull-4206-base already exists.
https://gitea.com/gitea/go-sdk/pulls/256

Metadata

Metadata

Assignees

No one assigned

    Labels

    skip-changelogThis PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features.type/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions