This is an archive of the discontinued Mercurial Phabricator instance.

undo: draft obsolete commits
ClosedPublic

Authored by felixmerk on Aug 21 2017, 2:42 PM.
Tags
None
Subscribers

Details

Reviewers
quark
Group Reviewers
Restricted Project
Commits
rFBHGXa9cd7384aa69: undo: draft obsolete commits
Summary

Visible obsolete commits are slightly tricky. For example, an amend in the
middle of a stack will leave behind a visible obsoleted commit. This diff
removes visible obsolete commits from 'olddraft()'. This removes the need for
some special casing and allows for a more powerful preview.

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

felixmerk created this revision.Aug 21 2017, 2:42 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptAug 21 2017, 2:42 PM
quark accepted this revision.Aug 21 2017, 3:22 PM
quark added a subscriber: quark.

Great! I like red lines.

This revision is now accepted and ready to land.Aug 21 2017, 3:22 PM
This revision was automatically updated to reflect the committed changes.