Skip to content

"repository already exists" but not #7154

@strahe

Description

@strahe
  • Gitea version (or commit ref): 1.8.2
  • Git version:
  • Operating system: Linux
  • 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

There is a repository called template/name1, then I fork it to myorg/name1 and change the name to myorg/other1-name through the API.

I am sure both operations (fork and change name) are successful, and there is no repository in myorg organization called myorg/name1.

When I fork template/name1 to myorg again, the API returns an error: repository already exists [uname: myorg, name: myorg/name1]

Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions