This is an archive of the discontinued Mercurial Phabricator instance.

fix: only check for obsolete commits in the --rev case
ClosedPublic

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

Details

Summary

With both --all and --source, we already exclude obsolete
revisions in the revset, so there's no need to call
checkfixablectx() in those cases.

Diff Detail

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

Event Timeline

martinvonz created this revision.Oct 16 2020, 7:04 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.