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
F13088958: D20469.diff
Thu, Apr 25, 1:37 AM
Unknown Object (File)
Tue, Apr 23, 9:39 PM
Unknown Object (File)
Fri, Apr 19, 3:11 AM
Unknown Object (File)
Thu, Apr 11, 9:19 AM
Unknown Object (File)
Fri, Apr 5, 3:29 PM
Unknown Object (File)
Tue, Apr 2, 7:19 PM
Unknown Object (File)
Mar 19 2024, 3:24 PM
Unknown Object (File)
Mar 19 2024, 3:24 PM
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