sparse: add an action argument to parseconfig()...
sparse: add an action argument to parseconfig()
This will help us in reusing this function to parse narrow config files and
unfiying the config file parsing logic.
Differential Revision:
https://phab.mercurial-scm.org/D4056