You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a repo with two branches feature/test_case and feature\Test_Case gitea throws a 500 exception when syncing branches as the unique constraint is violated.
SyncRepoBranches: Error 1062 (23000): Duplicate entry '<redacted_branch_name>' for key 'UQE_branch_s'
This error happened after an upgrade to 1.21.0 on an existing repo.
Workaround is to rename one of the branches.
Typically having this type of different branch names only based on casing is not needed (imho it's a bug ;) ) - but we shouldn't have a 500 page when accessing the repo.