Renamed branch to main

pull/909/head
Bartosz Kardas 2022-12-11 23:26:24 +01:00
rodzic 21ad4cac54
commit 52e80769b0
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -45,10 +45,10 @@ class Git(ContentProvider):
self.log.error( self.log.error(
f"Failed to check out ref {ref}", extra=dict(phase=R2dState.FAILED) f"Failed to check out ref {ref}", extra=dict(phase=R2dState.FAILED)
) )
if ref == "master": if ref == "main":
msg = ( msg = (
"Failed to check out the 'master' branch. " "Failed to check out the 'main' branch. "
"Maybe the default branch is not named 'master' " "Maybe the default branch is not named 'main' "
"for this repository.\n\nTry not explicitly " "for this repository.\n\nTry not explicitly "
"specifying `--ref`." "specifying `--ref`."
) )