Migration Fails because retrie to create and already migrated branch
- Dominant language
- C#
- Stars
- 478
- Forks
- 146
- Avg merge
- 7d 21h
- Merged PRs (30d)
- 2
Description
## Description
I'm having issue when trying to migrate a repo with 2 branchs, release and master, but it appears to have already migrate the release branch, and also the master. But keeps throwing issue below and I believe is because there is some issue during migration, it retries to migrate, but it already migrated the release branch, so I don't really know what error truly happened. Also for some reason is setting release as default.
[ERROR] OctoshiftCLI.OctoshiftCliException: File exists - File exists @ dir_s_mkdir - /octoshift/archives/*/git/refs/heads/release
## Reproduction Steps
Contributor guide
Research direction
No source file, test, or command entry point is named. Start by reproducing a migration with release and master branches and inspect how retries handle the existing refs/heads/release path. Done means the original migration failure is surfaced clearly instead of being obscured by the File exists retry error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100