larshp / abapGitServer

Git server implemented in ABAP
MIT License
64 stars 25 forks source link

Error creating a branch #128

Open treisinger opened 5 years ago

treisinger commented 5 years ago

Hello,

when trying to create a branch, I get the following error.

image

I cannot open the error message, as it will issue the same message again. I use the latest abaGit version.

Best regards, Tapio

larshp commented 5 years ago

I guess the internal server error originates from the git host, which git hosting service do you use?

treisinger commented 5 years ago

abapGitServer

larshp commented 5 years ago

okay, then I'll move this issue to the abapGitServer project, as it looks like the issue is there somewhere

larshp commented 5 years ago
treisinger commented 5 years ago

Yes, it worked the last time I was creating a branch.

This is the screen shot of dump.

image

Complete dump.

Dump.txt

I use latest abapGitServer version and installation is not that old. Should I try to run migration programs again?

larshp commented 5 years ago

what is the contents of ZAGS_BRANCHES, does the branch already exist? Note the unique index on name

treisinger commented 5 years ago

image

Ok, it seems the Branch already exist. I did not see branch in overview screen, as I did not make any commit so far for this branch. I'm sorry. Error message should be improved when branch already exists I guess. Instead of creating a dump.

Can different repositories have the same branch name or is branch name in general unique?

larshp commented 5 years ago

unique index key is REPO + NAME, so different repos can have same branch name(with different contents)