changeset 46231 | d3113c4cf52c |
parent 46222 | e22aed089567 |
child 46235 | 0babe12ef35d |
--- a/mercurial/upgrade.py Fri Jan 08 23:06:38 2021 +0530 +++ b/mercurial/upgrade.py Fri Jan 08 23:08:39 2021 +0530 @@ -171,6 +171,9 @@ upgrade_op.print_unused_optimizations() return + if not (upgrade_op.upgrade_actions or upgrade_op.removed_actions): + ui.status(_(b'nothing to do\n')) + return # Else we're in the run=true case. ui.write(_(b'upgrade will perform the following actions:\n\n')) upgrade_op.print_requirements()