auto-upgrade: rename a variable to match the actual content
This was the result of a copy paste.
--- a/mercurial/upgrade_utils/auto_upgrade.py Tue Jun 14 15:11:36 2022 +0200
+++ b/mercurial/upgrade_utils/auto_upgrade.py Tue Jun 14 15:17:51 2022 +0200
@@ -149,14 +149,14 @@
"""
ui = repo.ui
requirements = set(repo.requirements)
- auto_upgrade_tracked_hint = ui.configbool(
+ auto_upgrade_dv2 = ui.configbool(
b'format',
b'use-dirstate-v2.automatic-upgrade-of-mismatching-repositories',
)
action = None
- if auto_upgrade_tracked_hint:
+ if auto_upgrade_dv2:
d2_config = ui.configbool(b'format', b'use-dirstate-v2')
d2_local = requirementsmod.DIRSTATE_V2_REQUIREMENT in requirements
if d2_config and not d2_local: