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

Merging pull request throwing 500 internal server error: bad revision #8163

Closed
2 of 7 tasks
hanhpv opened this issue Sep 12, 2019 · 1 comment
Closed
2 of 7 tasks

Comments

@hanhpv
Copy link

hanhpv commented Sep 12, 2019

  • Gitea version (or commit ref): 1.9.3
  • Git version: 1.8.3.1
  • Operating system: CentOS 7.6
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Steps to reproduce:

  • create a new branch
  • push branch
  • create a new pull request, it will be available to be merged automatically according to Gitea
  • clicking the "Merge Pull Request" button results in a 500 error

Log message:

2019/09/12 19:48:00 routers/repo/pull.go:629:MergePullRequest() [E] Merge: getDiffTree: git diff-tree [/var/lib/gitea/data/tmp/local-repo/merge-664547743.git base:master head:head_repo/deploy_fi]: fatal: bad revision 'head_repo/deploy_fi'

Screenshots

Screen Shot 2019-09-12 at 7 52 10 PM

@hanhpv hanhpv closed this as completed Sep 12, 2019
@hanhpv
Copy link
Author

hanhpv commented Sep 12, 2019

Duplicated of #8133

@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
None yet
Projects
None yet
Development

No branches or pull requests

1 participant