Page MenuHomePhabricator

Allow revisions to revert commits and one another, and commits to revert revisions
ClosedPublic

Authored by epriestley on Jan 31 2018, 8:27 PM.
Tags
None
Referenced Files
F18562405: D18978.diff
Tue, Sep 9, 3:05 AM
F18509259: D18978.id.diff
Fri, Sep 5, 3:19 AM
F18502037: D18978.diff
Thu, Sep 4, 10:08 PM
F18105487: D18978.id45512.diff
Aug 10 2025, 6:15 PM
F18081225: D18978.id45532.diff
Aug 4 2025, 11:04 PM
F18041135: D18978.id.diff
Aug 3 2025, 4:24 AM
F17807318: D18978.id45532.diff
Jul 25 2025, 2:48 PM
Unknown Object (File)
Jun 29 2025, 3:39 AM
Subscribers
None

Details

Summary

Ref T13057. This makes "reverts" syntax more visible and useful. In particular, you can now Reverts Dxx in a revision or commit, and Reverts <hash> from a revision.

When you do, the corresponding object will get a more-visible cross-reference marker in its timeline:

Screen Shot 2018-01-31 at 12.25.33 PM.png (46×360 px, 9 KB)

From here, we can look at surfacing revert information more heavily, since we can now query it on revision/commit pages via edges.

Test Plan

Used "reverts <hash>" and "reverts <revision>" in Differential and Diffusion, got sensible results in the timeline.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable