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
F18828102: D20469.id.diff
Fri, Oct 24, 2:16 PM
F18822105: D20469.diff
Thu, Oct 23, 4:17 AM
F18758119: D20469.diff
Sun, Oct 5, 8:47 PM
F18736947: D20469.id48876.diff
Wed, Oct 1, 8:22 AM
F18687542: D20469.diff
Fri, Sep 26, 2:47 PM
F18652181: D20469.id48823.diff
Sep 21 2025, 7:00 AM
F18569970: D20469.id48876.diff
Sep 10 2025, 3:02 AM
F18569967: D20469.id48823.diff
Sep 10 2025, 3:02 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