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
F19247216: D18978.id.diff
Mon, Dec 22, 3:23 AM
F19239705: D18978.diff
Sun, Dec 21, 8:56 PM
F19031156: D18978.id.diff
Mon, Nov 24, 11:37 PM
F18845057: D18978.id.diff
Oct 29 2025, 9:25 AM
F18785418: D18978.diff
Oct 14 2025, 2:55 AM
F18756236: D18978.id.diff
Oct 5 2025, 10:21 AM
F18702407: D18978.id45512.diff
Sep 28 2025, 12:00 AM
F18678097: D18978.diff
Sep 25 2025, 10:20 PM
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