This revision was automatically updated to reflect the committed changes.
Closed by commit rHG089fc0db0954: hg: allow extra arguments to be passed to
repo creation (API) (authored by indygreg, committed by ).
CHANGED PRIOR TO COMMIT
https://phab.mercurial-scm.org/D4535?vs=10912=10925#toc
yuja added a comment.
> +def filterknowncreateopts(ui, createopts):
> +"""Filters a dict of repo creation options against options that are
known.
Nit: I thought this would select only known options.
> +raise error.Abort(_('unable to create repository because of
> +def filterknowncreateopts(ui, createopts):
> +"""Filters a dict of repo creation options against options that are
> known.
Nit: I thought this would select only known options.
> +raise error.Abort(_('unable to create repository because of unknown '
> +
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
Currently, repository creation is influenced by consulting the
ui instance and turning config options into requirements. This
means that in order to influence