sparse: fix check-config

Accessing `extensions.fbsparse` also needs to be documented.
This commit is contained in:
Jun Wu 2017-11-01 12:11:34 -07:00
parent 585aa1ca7a
commit 1f82a67648

View File

@ -23,6 +23,7 @@ testedwith = 'ships-with-fb-hgext'
cwdrealtivepatkinds = ('glob', 'relpath') cwdrealtivepatkinds = ('glob', 'relpath')
def _fbsparseexists(ui): def _fbsparseexists(ui):
# internal config: extensions.fbsparse
return not ui.config('extensions', 'fbsparse', '!').startswith('!') return not ui.config('extensions', 'fbsparse', '!').startswith('!')
def uisetup(ui): def uisetup(ui):