Page MenuHomePhabricator

Don't downgrade accepts on update (fix "sticky accept")
ClosedPublic

Authored by epriestley on Apr 3 2017, 3:38 PM.
Tags
None
Referenced Files
F13088160: D17605.diff
Thu, Apr 25, 1:18 AM
Unknown Object (File)
Fri, Apr 19, 6:20 PM
Unknown Object (File)
Sun, Apr 7, 12:54 PM
Unknown Object (File)
Sat, Mar 30, 3:05 PM
Unknown Object (File)
Feb 7 2024, 5:52 PM
Unknown Object (File)
Jan 23 2024, 9:48 AM
Unknown Object (File)
Jan 6 2024, 12:39 PM
Unknown Object (File)
Dec 27 2023, 10:28 AM
Subscribers
None

Details

Summary

Fixes T12496. Sticky accept was accidentally impacted by the "void" changes in D17566.

Instead, don't always downgrade all accepts/rejects: on update, we only want to downgrade accepts.

Test Plan
  • With sticky accept off, updated an accepted revision: new state is "needs review".
  • With sticky accept on, updated an accepted revision: new state is "accepted" (sticky accept working correctly).
  • Did "reject" + "request review" to make sure that still works, worked fine.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Apr 3 2017, 4:54 PM
This revision was automatically updated to reflect the committed changes.