-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow specifying custom upstream remote name #35
Conversation
Fixed the conflicts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Just some minor nitpicks and a general question about whether we should validate the passed remote.
cp = CherryPicker( | ||
"origin", | ||
"22a594a0047d7706537ff2ac676cdc0f1dcb329c", | ||
branches, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
branches, | |
["3.6"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if remote_name != "origin": | ||
git_remote("add", "origin", "https://github.com/miss-islington/cpython.git") | ||
|
||
branches = ["3.6"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
branches = ["3.6"] |
Why assign to a variable if you can just pass it directly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because it's consistent with the rest of the code in this file. Or more truthfully... Because I copy-pasted one of the other test cases when making this one :) I'm indifferent to what's done here but I'll wait to change it until one of the maintainers requests it.
Co-authored-by: Ezio Melotti <[email protected]>
Thanks for the PR, sorry it's taking so long to look into it. |
Fixes #19