Skip to content

Commit

Permalink
Fixing / in path
Browse files Browse the repository at this point in the history
  • Loading branch information
marcleblanc2 committed Mar 26, 2024
1 parent 79d15e5 commit 0895900
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions repo-converter/build/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -1060,10 +1060,10 @@ def cleanup_branches_and_tags(local_repo_path, cmd_git_default_branch, git_defau
elif path == "refs/remotes/git-svn":

output_list_of_reversed_tuples.append(tuple([path,hash]))
output_list_of_reversed_tuples.append(tuple([f"{local_branch_prefix}/{git_default_branch}",hash]))
output_list_of_reversed_tuples.append(tuple([f"{local_branch_prefix}{git_default_branch}",hash]))

# If the path is the default branch, then delete it, it'll get recreated later
elif path == f"{local_branch_prefix}/{git_default_branch}":
elif path == f"{local_branch_prefix}{git_default_branch}":
continue

# If the path is a remote tag, then copy it to a local path
Expand Down

0 comments on commit 0895900

Please sign in to comment.