Skip to content

Print out commit message after continuing#109

Merged
Mariatta merged 1 commit into
python:masterfrom
Mariatta:issue-108
Jun 7, 2017
Merged

Print out commit message after continuing#109
Mariatta merged 1 commit into
python:masterfrom
Mariatta:issue-108

Conversation

@Mariatta
Copy link
Copy Markdown
Member

@Mariatta Mariatta commented Jun 4, 2017

Temp fix for #108

self.cleanup_branch(cherry_pick_branch)

click.echo("\nBackport PR:\n")
click.echo(updated_commit_message)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So is this printing out the title, message body, or both? The previous line is ambiguous without context so I don't know what to expect to see in the eventual output.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This prints out the title, prefixed with [X.Y], message body, and cherry picked from .. message

Example output when backporting PR python/cpython#879:

[3.6] bpo-29931 fix __lt__ check in ipaddress.ip_interface for both v4 and v6. (GH-879)                     
                                                                                                            
the original logic was just comparing the network address                                                   
but this is wrong because if the network address is equal then                                              
we need to compare the ip address for breaking the tie                                                      
                                                                                                            
add more ip_interface comparison tests.                                                                     
(cherry picked from commit 7bd8d3e794782582a4ad1c9749424fff86802c3e)  

I recorded an asciicast: https://asciinema.org/a/123496

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Mariatta Mariatta merged commit 8175f18 into python:master Jun 7, 2017
@Mariatta Mariatta deleted the issue-108 branch June 7, 2017 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants