This is an archive of the discontinued Mercurial Phabricator instance.

fix: don't include obsolete descendants with -s
ClosedPublic

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

Details

Summary

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

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

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.