sparse: add config aliases to repsect old perftweaks configs

Summary: This means that nobody's config will be forgotten.

Reviewed By: markbt

Differential Revision: D10349563

fbshipit-source-id: 91e5bcabd1ed071f5f5810493012d8e71ce1b5ae
This commit is contained in:
Kostia Balytskyi 2018-10-16 14:19:25 -07:00 committed by Facebook Github Bot
parent 427c7f2835
commit 14a87d05b5

View File

@ -155,8 +155,10 @@ testedwith = "ships-with-fb-hgext"
cwdrealtivepatkinds = ("glob", "relpath")
configitem("sparse", "largecheckouthint", default=False)
configitem("sparse", "largecheckoutcount", default=0)
configitem("sparse", "largecheckouthint", default=False,
alias=[("perftweaks", "largecheckouthint")])
configitem("sparse", "largecheckoutcount", default=0,
alias=[("perftweaks", "largecheckoutcount")])
def uisetup(ui):