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
Unknown Object (File)
Tue, Jan 21, 3:17 PM
Unknown Object (File)
Tue, Jan 21, 11:55 AM
Unknown Object (File)
Tue, Jan 21, 11:17 AM
Unknown Object (File)
Dec 21 2024, 3:06 PM
Unknown Object (File)
Dec 12 2024, 4:51 AM
Unknown Object (File)
Nov 26 2024, 6:34 AM
Unknown Object (File)
Nov 26 2024, 6:34 AM
Unknown Object (File)
Oct 31 2024, 8:35 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