Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cherry_picker/cherry_picker.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ def get_pr_url(self, base_branch, head_branch):
def fetch_upstream(self):
"""git fetch <upstream>"""
set_state(WORKFLOW_STATES.FETCHING_UPSTREAM)
print(f"Fetching from Git remote {self.upstream}...")
cmd = ["git", "fetch", self.upstream, "--no-tags"]
self.run_cmd(cmd)
set_state(WORKFLOW_STATES.FETCHED_UPSTREAM)
Expand Down Expand Up @@ -425,6 +426,7 @@ def push_to_remote(self, base_branch, head_branch, commit_message=""):
cmd.append(self.pr_remote)
if not self.is_mirror():
cmd.append(f"{head_branch}:{head_branch}")
print(f"Pushing to Git remote {self.pr_remote}...")
try:
self.run_cmd(cmd)
set_state(WORKFLOW_STATES.PUSHED_TO_REMOTE)
Expand Down
Loading