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

Internal Error after PR merge #9380

Closed
2 of 7 tasks
jolheiser opened this issue Dec 17, 2019 · 3 comments · Fixed by #9416
Closed
2 of 7 tasks

Internal Error after PR merge #9380

jolheiser opened this issue Dec 17, 2019 · 3 comments · Fixed by #9416
Labels
Milestone

Comments

@jolheiser
Copy link
Member

Description

  1. Create a PR from a branch on same repo
  2. Delete branch
  3. Restore branch
  4. Merge PR (I used default, didn't check other merge styles)

Example error from local

2019/12/16 21:49:23 routers/repo/pull.go:319:PrepareMergedViewPullInfo() [E] GetCompareInfo: exit status 128 - fatal: ambiguous argument 'ffd89af277e933957146da58988b47139abb1e33...refs/pull/1/head': unknown revision or path not in the working tree.
        Use '--' to separate paths from revisions, like this:
        'git <command> [<revision>...] -- [<file>...]'
@lunny lunny added the type/bug label Dec 17, 2019
@lunny lunny added this to the 1.11.0 milestone Dec 17, 2019
@bagasme
Copy link
Contributor

bagasme commented Dec 17, 2019

@jolheiser What delete branch means?

@jolheiser
Copy link
Member Author

@bagasme
delete_branch

@zeripath
Copy link
Contributor

zeripath commented Dec 17, 2019

This is likely because - I in my infinite stupidity - decided not to use and keep updated the internal merge pulls ref on the base branch. We do need to restore that.

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants