-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
500 Internal server error when trying to merge a pull request #8029
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
Comments
I tried it with the integration test by applying the following change: diff --git a/integrations/pull_merge_test.go b/integrations/pull_merge_test.go
index 27f9fc6bb..6cfcf7b53 100644
--- a/integrations/pull_merge_test.go
+++ b/integrations/pull_merge_test.go
@@ -60,9 +60,9 @@ func TestPullMerge(t *testing.T) {
session := loginUser(t, "user1")
testRepoFork(t, session, "user2", "repo1", "user1", "repo1")
- testEditFile(t, session, "user1", "repo1", "master", "README.md", "Hello, World (Edited)\n")
+ testEditFileToNewBranch(t, session, "user1", "repo1", "master", "test/slash", "README.md", "Hello, World (Edited)\n")
- resp := testPullCreate(t, session, "user1", "repo1", "master", "This is a pull title")
+ resp := testPullCreate(t, session, "user1", "repo1", "test/slash", "This is a pull title")
elem := strings.Split(test.RedirectURL(resp), "/")
assert.EqualValues(t, "pulls", elem[3])
diff --git a/integrations/sqlite.ini b/integrations/sqlite.ini
index b188406ee..5bb6770f3 100644
--- a/integrations/sqlite.ini
+++ b/integrations/sqlite.ini
@@ -68,7 +68,7 @@ LEVEL = Info
COLORIZE = true
[log.file]
-LEVEL = Debug
+LEVEL = Trace
[security]
INSTALL_LOCK = true
And got logs like
I am afraid that the endpoints like |
Got the same error here: |
any got this error? The branch does exist (because I can create the PR). However when I try to merge the PR, it says ambiguous argument 'head_repo/test-gitea': unknown revision or path not in the working tree |
Please check if #8066 fixes what you encountered. @hanhpv @rmbleeker |
LGTM |
Hi, with upgrade to 1.9.3, the error 'ambiguous argument' is gone. However, I can't still merge the PR. New error message: |
@hanhpv |
@typeless I'm getting the exact same error after an update to 1.9.3, albeit with different paths of course. For system information see the first comment
|
[x]
):Description
Steps to reproduce:
Log:
Screenshot
The text was updated successfully, but these errors were encountered: