Mercurial > hg > mercurial-source
changeset 35671:317566f0c2e6
show: move configitems to core
chgserver.py is also checking the config and will get:
devel-warn: accessing unregistered config item:
'commands.show.aliasprefix' at:
mercurial/chgserver.py:109
if the config is not registered.
Differential Revision: https://phab.mercurial-scm.org/D1178
author | Jun Wu <quark@fb.com> |
---|---|
date | Wed, 18 Oct 2017 15:05:03 -0700 |
parents | 7bf7544fd6cc |
children | 554885e10868 |
files | hgext/show.py mercurial/configitems.py |
diffstat | 2 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/show.py +++ b/hgext/show.py @@ -52,12 +52,6 @@ cmdtable = {} command = registrar.command(cmdtable) -configtable = {} -configitem = registrar.configitem(configtable) -configitem('commands', 'show.aliasprefix', - default=list, -) - revsetpredicate = registrar.revsetpredicate() class showcmdfunc(registrar._funcregistrarbase):