mirror of
https://github.com/peridotbuild/pv2.git
synced 2024-12-22 02:38:31 +00:00
hotfix: new branch should be the actual set branch name
This commit is contained in:
parent
655a580afd
commit
f4499ca17d
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user