Show More
@@ -70,16 +70,14 b" def backport_pr(branch, num, project='ipython/ipython'):" | |||
|
70 | 70 | |
|
71 | 71 | filenames = [ f['filename'] for f in files ] |
|
72 | 72 | |
|
73 |
c |
|
|
74 | commit.wait() | |
|
75 | if commit.returncode: | |
|
76 | print("commit failed!") | |
|
77 | return 1 | |
|
78 | else: | |
|
79 | print("PR #%i applied, with msg:" % num) | |
|
80 |
|
|
|
81 | print(msg) | |
|
82 | print() | |
|
73 | check_call(['git', 'add'] + filenames) | |
|
74 | ||
|
75 | check_call(['git', 'commit', '-m', msg]) | |
|
76 | ||
|
77 | print("PR #%i applied, with msg:" % num) | |
|
78 | print() | |
|
79 | print(msg) | |
|
80 | print() | |
|
83 | 81 | |
|
84 | 82 | if branch != current_branch: |
|
85 | 83 | check_call(['git', 'checkout', current_branch]) |
General Comments 0
You need to be logged in to leave comments.
Login now