[PATCH 1 of 2 v3] config: add hasconfig method and supporting plumbing

Bryan O'Sullivan bos at serpentine.com
Mon Jan 11 11:21:44 CST 2016


On Sat, Jan 9, 2016 at 12:08 AM, Yuya Nishihara <yuya at tcha.org> wrote:

> > Sadly, this will happily return unspecified regardless of whether no
> > value was provided or an empty value was specified.
>
> No, it should return unspecified only if no value was provided, i.e.
> val is None.
>

Maybe that's what it *should* do, but I am describing what it actually does
today :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20160111/b04b4440/attachment.html>


More information about the Mercurial-devel mailing list