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
F18226172: D20469.diff
Wed, Aug 20, 3:31 AM
F18100465: D20469.id.diff
Sat, Aug 9, 11:54 AM
F18047071: D20469.id48823.diff
Sun, Aug 3, 11:19 AM
Unknown Object (File)
Jun 18 2025, 2:46 PM
Unknown Object (File)
Jun 17 2025, 3:51 AM
Unknown Object (File)
Jun 16 2025, 12:20 AM
Unknown Object (File)
Jun 15 2025, 10:40 PM
Unknown Object (File)
Jun 5 2025, 4:21 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