Show More
@@ -149,14 +149,14 b' def get_dirstate_v2_action(repo):' | |||
|
149 | 149 | """ |
|
150 | 150 | ui = repo.ui |
|
151 | 151 | requirements = set(repo.requirements) |
|
152 |
auto_upgrade_ |
|
|
152 | auto_upgrade_dv2 = ui.configbool( | |
|
153 | 153 | b'format', |
|
154 | 154 | b'use-dirstate-v2.automatic-upgrade-of-mismatching-repositories', |
|
155 | 155 | ) |
|
156 | 156 | |
|
157 | 157 | action = None |
|
158 | 158 | |
|
159 |
if auto_upgrade_ |
|
|
159 | if auto_upgrade_dv2: | |
|
160 | 160 | d2_config = ui.configbool(b'format', b'use-dirstate-v2') |
|
161 | 161 | d2_local = requirementsmod.DIRSTATE_V2_REQUIREMENT in requirements |
|
162 | 162 | if d2_config and not d2_local: |
General Comments 0
You need to be logged in to leave comments.
Login now