Page MenuHomePhabricator

Unify code for parsing "Reverts X" magic, and when something "reverts <hash>", also revert associated revisions
ClosedPublic

Authored by epriestley on Apr 23 2019, 6:05 PM.
Tags
None
Referenced Files
F15456633: D20469.diff
Sun, Mar 30, 10:54 AM
F15421522: D20469.diff
Sat, Mar 22, 12:32 AM
Unknown Object (File)
Feb 14 2025, 10:52 PM
Unknown Object (File)
Feb 14 2025, 10:52 PM
Unknown Object (File)
Feb 9 2025, 5:28 PM
Unknown Object (File)
Feb 9 2025, 7:42 AM
Unknown Object (File)
Feb 9 2025, 7:42 AM
Unknown Object (File)
Feb 9 2025, 7:42 AM
Subscribers
None

Details

Summary

Depends on D20468. Ref T13276. See PHI1008.

When a commit or revision "reverts <hash>", and that's the hash of a commit which has a revision, also write a "reverts" edge to the revision.

Test Plan

Created "reverts X" objects for:

  • a revision;
  • a commit;
  • a commit with a revision (both got marked properly).

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable