On Wed, 16 May 2018 23:03:58 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison <matt_harbi...@yahoo.com> > # Date 1526525067 14400 > # Wed May 16 22:44:27 2018 -0400 > # Node ID 8003050dd9ee58fbc1eceda17aec5332830e9da2 > # Parent c3fd9a0f8277a4abbc709a91f642f841bad1cc62 > phabricator: register config settings > > I didn't bother registering the deprecated phabricator.auth.*, and I'm not > sure > if the two flagged as 'developer config' should be moved to [devel] (or why > there's a distinction between `repophid` and `callsign`). > > diff --git a/contrib/phabricator.py b/contrib/phabricator.py > --- a/contrib/phabricator.py > +++ b/contrib/phabricator.py > @@ -73,6 +73,30 @@ from mercurial.utils import ( > cmdtable = {} > command = registrar.command(cmdtable) > > +configtable = {} > +configitem = registrar.configitem(configtable) > + > +# developer config: phabricator.batchsize > +configitem('phabricator', 'batchsize', > + default=12, > +)
The default value would have to be removed from the ui.config() call. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel