Specify the CTest HGCommand setting in a ctest(1) dashboard client script.
HGCommand
ctest(1)
CTEST_GIT_UPDATE_OPTIONS
CTEST_HG_UPDATE_OPTIONS