diff --git a/cherry_picker/cherry_picker.py b/cherry_picker/cherry_picker.py index 52df11d..224f0c6 100755 --- a/cherry_picker/cherry_picker.py +++ b/cherry_picker/cherry_picker.py @@ -636,7 +636,7 @@ def continue_cherry_pick(self): ] self.commit_sha1 = get_full_sha_from_short(short_sha) - commits = get_commits_from_backport_branch(base) + commits = get_commits_from_backport_branch(f"{self.upstream}/{base}") if len(commits) == 1: commit_message = self.amend_commit_message(cherry_pick_branch) else: