Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/upgrade_utils/actions.py @ 52970:42f78c859dd1
branching: merge with stable
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 18 Feb 2025 22:49:43 +0100 |
parents | f066fc0bdc7a 818c2f0a5c84 |
children |
comparison
equal
deleted
inserted
replaced
52969:6a8a1792aab7 | 52970:42f78c859dd1 |
---|---|
927 for i in self.unused_optimizations: | 927 for i in self.unused_optimizations: |
928 self.ui.status(_(b'%s\n %s\n\n') % (i.name, i.description)) | 928 self.ui.status(_(b'%s\n %s\n\n') % (i.name, i.description)) |
929 | 929 |
930 def has_upgrade_action(self, name): | 930 def has_upgrade_action(self, name): |
931 """Check whether the upgrade operation will perform this action""" | 931 """Check whether the upgrade operation will perform this action""" |
932 return name in self._upgrade_actions_names | 932 return name in self.upgrade_actions_names |
933 | 933 |
934 def print_post_op_messages(self): | 934 def print_post_op_messages(self): |
935 """print post upgrade operation warning messages""" | 935 """print post upgrade operation warning messages""" |
936 for a in self.upgrade_actions: | 936 for a in self.upgrade_actions: |
937 if a.postupgrademessage is not None: | 937 if a.postupgrademessage is not None: |