hotfix: new branch should be the actual set branch name

This commit is contained in:
Louis Abel 2023-10-29 15:29:29 -07:00
parent 655a580afd
commit f4499ca17d
Signed by: label
GPG Key ID: 2A6975660E424560
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,7 @@ class SrpmImport(Import):
repo_name=self.rpm_name_replace,
branch=None
)
gitutil.checkout(repo, branch=self.__branch, orphan=True)
gitutil.checkout(repo, branch=branch, orphan=True)
# Remove everything, plain and simple. Only needed for clone.
self.remove_everything(repo.working_dir)
for tag_name in repo.tags: