[PATCH 1 of 5] extdata: add extdatasource reader
raf at durin42.com
Fri Sep 23 14:05:10 EDT 2016
On Thu, Sep 22, 2016 at 06:20:03PM -0500, Kevin Bullock wrote:
> > On Sep 22, 2016, at 13:21, Matt Mackall <mpm at selenic.com> wrote:
> > # HG changeset patch
> > # User Matt Mackall <mpm at selenic.com>
> > # Date 1473794045 18000
> > # Tue Sep 13 14:14:05 2016 -0500
> > # Node ID 19bf2776dfe39befdc479253e1e7d030b41c08f9
> > # Parent 5271ae66615207f39cc41d78f4541bc6f8ca6ff6
> > extdata: add extdatasource reader
> > + """
> > +
> > + spec = repo.ui.config("extdata", source)
> > + if not spec:
> > + raise util.Abourt(_("unknown extdata source '%s'") % source)
> Typo here. I suppose there's no great way to test against this.
Actually something like pytype or mypy should let us catch stuff like
this. I want to carve out some time to try and find a way to get one
of those tools running on our code regularly.
More information about the Mercurial-devel