Revision a91f69c4 tools/cfgupgrade
b/tools/cfgupgrade | ||
---|---|---|
171 | 171 |
raise Error("Inconsistent configuration: found config_version in" |
172 | 172 |
" configuration file") |
173 | 173 |
|
174 |
# Upgrade from 2.0/2.1/2.2 to 2.3
|
|
175 |
if config_major == 2 and config_minor in (0, 1, 2): |
|
174 |
# Upgrade from 2.0/2.1/2.2/2.3 to 2.4
|
|
175 |
if config_major == 2 and config_minor in (0, 1, 2, 3):
|
|
176 | 176 |
if config_revision != 0: |
177 | 177 |
logging.warning("Config revision is %s, not 0", config_revision) |
178 | 178 |
|
179 |
config_data["version"] = constants.BuildVersion(2, 3, 0)
|
|
179 |
config_data["version"] = constants.BuildVersion(2, 4, 0)
|
|
180 | 180 |
|
181 |
elif config_major == 2 and config_minor == 3:
|
|
181 |
elif config_major == 2 and config_minor == 4:
|
|
182 | 182 |
logging.info("No changes necessary") |
183 | 183 |
|
184 | 184 |
else: |
Also available in: Unified diff