[PATCH] config: rename streamunbundle to stream-unbundle

Pulkit Goyal 7895pulkit at gmail.com
Mon May 14 13:58:05 EDT 2018


On Mon, May 14, 2018 at 5:53 PM Yuya Nishihara <yuya at tcha.org> wrote:

> On Mon, 14 May 2018 11:23:24 +0200, David Demelier wrote:
> > # HG changeset patch
> > # User David Demelier <markand at malikania.fr>
> > # Date 1526286491 -7200
> > #      Mon May 14 10:28:11 2018 +0200
> > # Node ID 3cd7780897a23b96f6bbb5d5fccc2a3006931365
> > # Parent  8ba0344f9fb145f5b9b909f1211defc9e0793f68
> > config: rename streamunbundle to stream-unbundle
> >
> > As part of ConfigConsolidationPlan [1], rename the option according to
> > the new UI guidelines [2] and add an alias for backward compatibility.
> >
> > [1]: https://www.mercurial-scm.org/wiki/ConfigConsolidationPlan
> > [2]: https://www.mercurial-scm.org/wiki/UIGuideline#adding_new_options
> >
> > diff -r 8ba0344f9fb1 -r 3cd7780897a2 mercurial/configitems.py
> > --- a/mercurial/configitems.py        Fri May 11 22:07:43 2018 -0400
> > +++ b/mercurial/configitems.py        Mon May 14 10:28:11 2018 +0200
> > @@ -932,7 +932,8 @@
> >  coreconfigitem('server', 'disablefullbundle',
> >      default=False,
> >  )
> > -coreconfigitem('server', 'streamunbundle',
> > +coreconfigitem('server', 'stream-unbundle',
> > +    alias=[('server', 'streamunbundle')],
> >      default=False,
>
> Let's not add more aliases for now.
>

​+1​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20180514/5ec509fe/attachment.html>


More information about the Mercurial-devel mailing list