mirror of
https://github.com/peridotbuild/pv2.git
synced 2024-11-21 20:51:26 +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,
|
repo_name=self.rpm_name_replace,
|
||||||
branch=None
|
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.
|
# Remove everything, plain and simple. Only needed for clone.
|
||||||
self.remove_everything(repo.working_dir)
|
self.remove_everything(repo.working_dir)
|
||||||
for tag_name in repo.tags:
|
for tag_name in repo.tags:
|
||||||
|
Loading…
Reference in New Issue
Block a user