Show More
@@ -12,9 +12,10 to backport PR #123 onto branch 0.13.1 | |||
|
12 | 12 | |
|
13 | 13 | or |
|
14 | 14 | |
|
15 |
python tools/backport_pr.py |
|
|
15 | python tools/backport_pr.py 2.1 | |
|
16 | 16 | |
|
17 |
to see what PRs are marked for backport that have yet to be applied |
|
|
17 | to see what PRs are marked for backport with milestone=2.1 that have yet to be applied | |
|
18 | to branch 2.x. | |
|
18 | 19 | |
|
19 | 20 | """ |
|
20 | 21 | |
@@ -148,9 +149,10 if __name__ == '__main__': | |||
|
148 | 149 | sys.exit(1) |
|
149 | 150 | |
|
150 | 151 | if len(sys.argv) < 3: |
|
151 |
|
|
|
152 | milestone = sys.argv[1] | |
|
153 | branch = milestone.split('.')[0] + '.x' | |
|
152 | 154 | already = already_backported(branch) |
|
153 |
should = should_backport( |
|
|
155 | should = should_backport(milestone=milestone) | |
|
154 | 156 | print ("The following PRs should be backported:") |
|
155 | 157 | for pr in sorted(should.difference(already)): |
|
156 | 158 | print (pr) |
General Comments 0
You need to be logged in to leave comments.
Login now