Mercurial > public > mercurial-scm > hg
comparison mercurial/configitems.py @ 34864:fec79a3f250f
config: update evolution-related config
Update the evolution helpers function to support both old-style configuration and
new-style configuration:
experimental.evolution=all is renamed into experimental.evolution=true
experimental.evolution=createmarkers is renamed into
experimental.evolution.createmarkers=true
experimental.evolution=allowunstable is renamed into
experimental.evolution.allowunstable=true
experimental.evolution=exchange is renamed into
experimental.evolution.exchange=true
We choose to not rename individual config options; keeping the same names
would easy the transition for users but it's something that could be easily
done in the future.
Differential Revision: https://phab.mercurial-scm.org/D1147
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Mon, 16 Oct 2017 17:14:47 +0200 |
parents | b1e3f609bf45 |
children | 28fd13076962 |
comparison
equal
deleted
inserted
replaced
34863:b1e3f609bf45 | 34864:fec79a3f250f |
---|---|
347 ) | 347 ) |
348 coreconfigitem('experimental', 'evolution', | 348 coreconfigitem('experimental', 'evolution', |
349 default=list, | 349 default=list, |
350 alias=[('experimental', 'stabilization')], | 350 alias=[('experimental', 'stabilization')], |
351 ) | 351 ) |
352 coreconfigitem('experimental', 'evolution.allowunstable', | |
353 default=None, | |
354 ) | |
355 coreconfigitem('experimental', 'evolution.createmarkers', | |
356 default=None, | |
357 ) | |
358 coreconfigitem('experimental', 'evolution.exchange', | |
359 default=None, | |
360 ) | |
352 coreconfigitem('experimental', 'evolution.bundle-obsmarker', | 361 coreconfigitem('experimental', 'evolution.bundle-obsmarker', |
353 default=False, | 362 default=False, |
354 alias=[('experimental', 'stabilization.bundle-obsmarker')], | 363 alias=[('experimental', 'stabilization.bundle-obsmarker')], |
355 ) | 364 ) |
356 coreconfigitem('experimental', 'evolution.track-operation', | 365 coreconfigitem('experimental', 'evolution.track-operation', |