[PATCH 1 of 5] extdata: add extdatasource reader

Matt Mackall mpm at selenic.com
Sat Sep 24 18:38:35 EDT 2016


On Fri, 2016-09-23 at 21:22 -0700, Gregory Szorc wrote:
> On Thu, Sep 22, 2016 at 11:21 AM, 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
> > 
> > This adds basic support for extdata, a way to add external data
> > sources for revsets and templates. An extdata data source is simply a
> > list of lines of the form:
> > 
> > <revision identifier>[<space><freeform text>]\n
> > 
> > An extdata source is configured thusly:
> > 
> > [extdata]
> > name = <a url or path>
> > 
> I like "extdata" for internal terminology but I have hesitations about
> using an abbreviation in the user-facing config. How about [externaldata]?
> Or perhaps something more generic like [datasource(s)]?

Chosen to match extdiff.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list