fork fork -> fork 'fork'
previously:
About to force push changes to branch 0.11.0-f32-update of a fork fork of the dist-git repo
now:
About to force push changes to branch '0.11.0-f32-update' of a fork 'fork' of the dist-git repo.
@@ -168,8 +168,8 @@ class DistGit(PackitRepositoryBase):
:param force: push forcefully?
"""
logger.debug(
- f"About to {'force ' if force else ''}push changes to branch {branch_name} "
- f"of a fork {fork_remote_name} of the dist-git repo"
+ f"About to {'force ' if force else ''}push changes to branch {branch_name!r} "
+ f"of a fork {fork_remote_name!r} of the dist-git repo."
)
if fork_remote_name not in [
remote.name for remote in self.local_project.git_repo.remotes
@@ -192,7 +192,7 @@ class DistGit(PackitRepositoryBase):
self.push(refspec=branch_name, remote_name=fork_remote_name, force=force)
except git.GitError as ex:
msg = (
- f"Unable to push to remote {fork_remote_name} using branch {branch_name}, "
+ f"Unable to push to remote fork {fork_remote_name!r} using branch {branch_name!r}, "
f"the error is:\n{ex}"
)
raise PackitException(msg)
