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
4 changes: 3 additions & 1 deletion src/stack_pr/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,6 @@ def command_submit(
branch_name_template=args.branch_name_template,
)
set_base_branches(st, args.target)
print_stack(st, links=args.hyperlinks)

# If the current branch contains commits from the stack, we will need to
# rebase it in the end since the commits will be modified.
Expand All @@ -1114,6 +1113,9 @@ def command_submit(
# Verify consistency in everything we have so far
verify(st)

# Print stack now that PRs have been created
print_stack(st, links=args.hyperlinks)

# Embed stack-info into commit messages
log(h("Updating commit messages with stack metadata"), level=2)
needs_rebase = False
Expand Down
Loading