From f4499ca17dda58755447b28fd9c66563d2b7cfa9 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Sun, 29 Oct 2023 15:29:29 -0700 Subject: [PATCH] hotfix: new branch should be the actual set branch name --- pv2/importer/operation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pv2/importer/operation.py b/pv2/importer/operation.py index 00bc4fb..dc7d32b 100644 --- a/pv2/importer/operation.py +++ b/pv2/importer/operation.py @@ -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: