Skip to content
Snippets Groups Projects
Commit 317566f0 authored by Jun Wu's avatar Jun Wu
Browse files

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
parent 7bf7544f
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
......@@ -181,6 +181,9 @@
coreconfigitem('color', 'pagermode',
default=dynamicdefault,
)
coreconfigitem('commands', 'show.aliasprefix',
default=list,
)
coreconfigitem('commands', 'status.relative',
default=False,
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment