From 0243923759eb646c964726ad84d71b3c88abd6c9 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Thu, 19 Feb 2015 16:20:25 +0000 Subject: [PATCH] setup_git_repo creates master --- roles/distgit/templates/pkgdb_sync_git_branches.py | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/distgit/templates/pkgdb_sync_git_branches.py b/roles/distgit/templates/pkgdb_sync_git_branches.py index 0919969ea1..3f5827b4a3 100644 --- a/roles/distgit/templates/pkgdb_sync_git_branches.py +++ b/roles/distgit/templates/pkgdb_sync_git_branches.py @@ -189,6 +189,7 @@ def branch_package(pkgname, branches): if not os.path.exists( os.path.join(GIT_FOLDER, '%s.git' % pkgname)): _invoke(SETUP_PACKAGE, [pkgname]) + branches.remove('master') # SETUP_PACKAGE creates master # Create all the required branches for the package # Use the translated branch name until pkgdb falls inline