##// END OF EJS Templates
backport fixes related to split
Min RK -
Show More
@@ -60,7 +60,7 b" def backport_pr(branch, num, project='ipython/ipython'):"
60 files = get_pull_request_files(project, num, auth=True)
60 files = get_pull_request_files(project, num, auth=True)
61 patch_url = pr['patch_url']
61 patch_url = pr['patch_url']
62 title = pr['title']
62 title = pr['title']
63 description = pr['body']
63 description = pr['body'] or ''
64 fname = "PR%i.patch" % num
64 fname = "PR%i.patch" % num
65 if os.path.exists(fname):
65 if os.path.exists(fname):
66 print("using patch from {fname}".format(**locals()))
66 print("using patch from {fname}".format(**locals()))
@@ -92,6 +92,7 b" def backport_pr(branch, num, project='ipython/ipython'):"
92 a,b = p.communicate(patch)
92 a,b = p.communicate(patch)
93
93
94 filenames = [ f['filename'] for f in files ]
94 filenames = [ f['filename'] for f in files ]
95 filenames = [ f.replace('jupyter_notebook', 'IPython/html') for f in filenames ]
95
96
96 check_call(['git', 'add'] + filenames)
97 check_call(['git', 'add'] + filenames)
97
98
General Comments 0
You need to be logged in to leave comments. Login now