Page MenuHomePhabricator

Fix an issue where "Request Review" of a fully-accepted revision would transition to "Accepted"
ClosedPublic

Authored by epriestley on Mar 28 2017, 12:52 PM.
Tags
None
Referenced Files
F14448957: D17566.diff
Thu, Dec 26, 7:09 PM
Unknown Object (File)
Fri, Dec 20, 5:50 PM
Unknown Object (File)
Sun, Dec 15, 4:54 PM
Unknown Object (File)
Fri, Dec 13, 5:28 PM
Unknown Object (File)
Tue, Dec 10, 4:26 PM
Unknown Object (File)
Tue, Dec 3, 2:04 AM
Unknown Object (File)
Tue, Dec 3, 2:04 AM
Unknown Object (File)
Mon, Dec 2, 1:28 PM
Subscribers
None

Details

Summary

Ref T10967. This is explained in more detail in T10967#217125

When an author does "Request Review" on an accepted revision, void (in the sense of "cancel out", like a bank check) any "accepted" reviewers on the current diff.

Test Plan
  • Create a revision with author A and reviewer B.
  • Accept as B.
  • "Request Review" as A.
  • (With sticky accepts enabled.)
  • Before patch: revision swithced back to "accepted".
  • After patch: the earlier review is "voided" by te "Request Review", and the revision switches to "Review Requested".

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable