Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Unable to fork a repo when multiple repos have same name #41641

@Piszmog

Description

@Piszmog

When forking repos with the same name, the following error occurs,

Failed to run operations on changeset
Getting user fork for "some-user": repo was not forked from the given parent

Scenario

  • 2 repos with same name
    • bitbucket.mycompany.org/Foo/hello-world
    • bitbucket.mycompany.org/Bar/hello-world
  • Forks are enabled for batch changes in site settings

Running a batch change for these repos causes the Getting user fork for "{batch_changes_user}": repo was not forked from the given parent

Initial Thoughts

BitbucketServerSource.getFork(..) is not able to handle where the repo names are the same but are not forks.

Metadata

Metadata

Assignees

Labels

batch-changesIssues related to Batch ChangesbugAn error, flaw or fault that produces an incorrect or unexpected result, or behavior.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions