# HG changeset patch # User Matt Harbison # Date 1599331596 14400 # Node ID 1ee535d769db9a3b6f90e2b0ff17b0e26116b024 # Parent 044ce00dfa88905d1c455c8cde3e05c16f41ecfb config: specify the extension when forcing a config option I noticed that `hg config server --debug` said 'none: server.bundle1=False'. diff -r 044ce00dfa88 -r 1ee535d769db hgext3rd/evolve/__init__.py --- a/hgext3rd/evolve/__init__.py Sat Sep 05 00:07:01 2020 -0400 +++ b/hgext3rd/evolve/__init__.py Sat Sep 05 14:46:36 2020 -0400 @@ -367,7 +367,7 @@ if obsolete.isenabled(repo, b'exchange'): # if no config explicitly set, disable bundle1 if not isinstance(repo.ui.config(b'server', b'bundle1'), bytes): - repo.ui.setconfig(b'server', b'bundle1', False) + repo.ui.setconfig(b'server', b'bundle1', False, b'evolve') class trdescrepo(repo.__class__): diff -r 044ce00dfa88 -r 1ee535d769db hgext3rd/evolve/serveronly.py --- a/hgext3rd/evolve/serveronly.py Sat Sep 05 00:07:01 2020 -0400 +++ b/hgext3rd/evolve/serveronly.py Sat Sep 05 14:46:36 2020 -0400 @@ -57,8 +57,8 @@ evolveopts = repo.ui.configlist(b'experimental', b'evolution') if not evolveopts: evolveopts = b'all' - repo.ui.setconfig(b'experimental', b'evolution', evolveopts) + repo.ui.setconfig(b'experimental', b'evolution', evolveopts, b'evolve') if obsolete.isenabled(repo, b'exchange'): # if no config explicitly set, disable bundle1 if not isinstance(repo.ui.config(b'server', b'bundle1'), bytes): - repo.ui.setconfig(b'server', b'bundle1', False) + repo.ui.setconfig(b'server', b'bundle1', False, b'evolve')