When we run `git-webkit pr`, if we match a closed pull-request, we should re-open that pull-request.
<rdar://problem/85084318>
Created attachment 443433 [details] Patch
Comment on attachment 443433 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=443433&action=review > Tools/ChangeLog:3 > + [git-webkit] Open closed pull-request when running pr Should the script ask the user for confirmation? This is likely to be in error, so doing it unconditionally seems questionable.
Created attachment 443610 [details] Patch
(In reply to Alexey Proskuryakov from comment #3) > Comment on attachment 443433 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=443433&action=review > > > Tools/ChangeLog:3 > > + [git-webkit] Open closed pull-request when running pr > > Should the script ask the user for confirmation? This is likely to be in > error, so doing it unconditionally seems questionable. Updated the patch to prompt the user if the pull-request is closed. We also need to match opened pull-requests by default if we're going to prompt users to duplicate branch names in PRs. As a side note, https://github.com/WebKit/WebKit/pull/35 is the pull-request for this change.
Comment on attachment 443610 [details] Patch Landed https://commits.webkit.org/244192@main (r 285733)
Landed https://commits.webkit.org/244192@main (r285733)
Follow-up fix: https://github.com/WebKit/WebKit/pull/60