( )⚙ D10259 rebase: don't call rewriteutil.precheck() with to-be-skipped commits

This is an archive of the discontinued Mercurial Phabricator instance.

rebase: don't call rewriteutil.precheck() with to-be-skipped commits
ClosedPublic

Authored by martinvonz on Mar 24 2021, 2:25 AM.

Details

Summary

It's clearly incorrect to call rewriteutil.precheck() for commits
that we're not about to rewrite. We haven't noticed yet because the
function doesn't check for divergence, but I'm about to teach it to do
that.

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.