Mercurial > public > mercurial-scm > hg-stable
diff mercurial/obsolete.py @ 34863:b1e3f609bf45
config: invert evolution-related configuration aliases
We want to split the evolution-related configuration and back-out the renaming
from evolution.* to stabilization.*.
First invert the configuration and aliases, so next changesets will be
cleaner.
Differential Revision: https://phab.mercurial-scm.org/D1146
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Mon, 16 Oct 2017 17:14:32 +0200 |
parents | 96802496ecc0 |
children | fec79a3f250f |
line wrap: on
line diff
--- a/mercurial/obsolete.py Mon Oct 16 14:53:57 2017 -0400 +++ b/mercurial/obsolete.py Mon Oct 16 17:14:32 2017 +0200 @@ -102,7 +102,7 @@ """Returns True if the given repository has the given obsolete option enabled. """ - result = set(repo.ui.configlist('experimental', 'stabilization')) + result = set(repo.ui.configlist('experimental', 'evolution')) if 'all' in result: return True @@ -1043,7 +1043,7 @@ # Operation metadata handling useoperation = repo.ui.configbool('experimental', - 'stabilization.track-operation') + 'evolution.track-operation') if useoperation and operation: metadata['operation'] = operation