upgrade: fix a reference to a missing attribute
I guess pytype 2023.11.21 goes out to lunch on this module- 2024.10.11 found
this, and PyCharm sees the problem too.
This broke back in a43d256c041a when the internal attr was made a property.
--- a/mercurial/upgrade_utils/actions.py Fri Feb 07 19:14:05 2025 -0500
+++ b/mercurial/upgrade_utils/actions.py Tue Feb 11 22:14:35 2025 -0500
@@ -929,7 +929,7 @@
def has_upgrade_action(self, name):
"""Check whether the upgrade operation will perform this action"""
- return name in self._upgrade_actions_names
+ return name in self.upgrade_actions_names
def print_post_op_messages(self):
"""print post upgrade operation warning messages"""