Rename the master branch to main

This commit is contained in:
Martin Robinson 2023-11-27 14:03:16 +01:00
parent 7bcb25c85c
commit 23add0c1e5
14 changed files with 47 additions and 51 deletions

View file

@ -647,7 +647,7 @@ def setUpModule():
def setup_mock_repo(repo_name, local_repo):
subprocess.check_output(
["cp", "-R", "-p", os.path.join(TESTS_DIR, repo_name), local_repo.path])
local_repo.run("init", "-b", "master")
local_repo.run("init", "-b", "main")
local_repo.run("add", ".")
local_repo.run("commit", "-a", "-m", "Initial commit")