D4535: hg: allow extra arguments to be passed to repo creation

2018-09-12 Thread indygreg (Gregory Szorc)
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

D4535: hg: allow extra arguments to be passed to repo creation

2018-09-12 Thread yuja (Yuya Nishihara)
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

Re: D4535: hg: allow extra arguments to be passed to repo creation

2018-09-12 Thread Yuya Nishihara
> +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 ' > +

D4535: hg: allow extra arguments to be passed to repo creation

2018-09-11 Thread indygreg (Gregory Szorc)
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