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
F18687542: D20469.diff
Fri, Sep 26, 2:47 PM
F18652181: D20469.id48823.diff
Sun, Sep 21, 7:00 AM
F18569970: D20469.id48876.diff
Wed, Sep 10, 3:02 AM
F18569967: D20469.id48823.diff
Wed, Sep 10, 3:02 AM
F18519146: D20469.diff
Fri, Sep 5, 3:56 PM
F18459801: D20469.diff
Mon, Sep 1, 5:59 PM
F18226172: D20469.diff
Aug 20 2025, 3:31 AM
F18100465: D20469.id.diff
Aug 9 2025, 11:54 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