##// END OF EJS Templates
Update target branch before backporting PR
Thomas Kluyver -
Show More
@@ -37,6 +37,7 b" def backport_pr(branch, num, project='ipython/ipython'):"
37 37 current_branch = get_current_branch()
38 38 if branch != current_branch:
39 39 check_call(['git', 'checkout', branch])
40 check_call(['git', 'pull'])
40 41 pr = get_pull_request(project, num, auth=True)
41 42 files = get_pull_request_files(project, num, auth=True)
42 43 patch_url = pr['patch_url']
General Comments 0
You need to be logged in to leave comments. Login now