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
F19596980: D20469.diff
Feb 2 2026, 8:42 PM
F19596971: D20469.diff
Feb 2 2026, 8:41 PM
F19470343: D20469.id.diff
Jan 5 2026, 2:10 PM
F19468356: D20469.diff
Jan 4 2026, 2:50 AM
F18828102: D20469.id.diff
Oct 24 2025, 2:16 PM
F18822105: D20469.diff
Oct 23 2025, 4:17 AM
F18758119: D20469.diff
Oct 5 2025, 8:47 PM
F18736947: D20469.id48876.diff
Oct 1 2025, 8:22 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