This is an archive of the discontinued Mercurial Phabricator instance.

upgrade: properly filter action depending on planned work
ClosedPublic

Authored by marmoute on Apr 15 2020, 4:16 PM.

Details

Summary

The determineactions function filters out deficiency that are not scheduled to
be fixed by the target repository configuration. However it only did so for
requirement we currently support, letting other actions for unsupported
requirement through even if the target repo configuration did not request it.

As a result the output of the command was easily polluted by experimental
feature with no upgrade support.

We rework the code to still filter out requirement based action without the
faulty filtering.

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.