are using a browser extension to selectively enable or disable
Describe your changes (optional):
Review Request #1517
Created April 19, 2010 and submitted
post-review have additional parameter --reopen which reopen discarded review.
Look OK to me
Probably don't need this debug info.
There is information about publishing so why a not about Reopening?
I believe this will fail if it's not closed. Is this okay? I think we probably want to warn but not fail if the review request isn't actually closed.
I will check this. Should I check state of review_request before if needed data is available?
I think it's okay to just make the call and check the resulting error. We do this for the initial review request creation with Perforce change numbers. If it's already taken, we silently ignore and call the update_changenum function.
So what I should change?
Just check for an error response and ignore it.
Actually, reopen is just a no-op if it's PENDING_REVIEW.
Changed according tips.
Revision 2 (+20)
Committed as 43b2947. Thanks!