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
F13091184: D18978.diff
Thu, Apr 25, 2:47 AM
Unknown Object (File)
Fri, Apr 19, 7:14 PM
Unknown Object (File)
Thu, Apr 11, 10:04 AM
Unknown Object (File)
Sun, Apr 7, 10:34 PM
Unknown Object (File)
Sun, Apr 7, 7:11 AM
Unknown Object (File)
Mar 10 2024, 8:40 AM
Unknown Object (File)
Feb 16 2024, 5:19 PM
Unknown Object (File)
Feb 8 2024, 3:31 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