Page MenuHomePhabricator

fix: don't include obsolete descendants with -s

Authored by martinvonz on Oct 16 2020, 7:04 PM.



The -s/--source option is for regular users (-r is there for power
users). If there are obsolete commits that are descendants of the
given revision(s), then they almost definitely should just be left
alone. That's what hg rebase does as well. So this patch makes it so
we skip obsolete commits (including those in the input set itself).

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

martinvonz created this revision.Oct 16 2020, 7:04 PM

Looks good.

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.