[PATCH 1 of 5 V2] dispatch: make loading extra information from extension extensible

FUJIWARA Katsunori foozy at lares.dti.ne.jp
Sun Jan 17 12:06:58 CST 2016


At Mon, 18 Jan 2016 00:31:10 +0900,
Yuya Nishihara wrote:
> 
> On Sun, 17 Jan 2016 00:32:11 +0900, FUJIWARA Katsunori wrote:
> > # HG changeset patch
> > # User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
> > # Date 1452957858 -32400
> > #      Sun Jan 17 00:24:18 2016 +0900
> > # Node ID cc378ec7682d9932691a5838436830d7a1137509
> > # Parent  11942f8bd18bb15f37fc7d5fc571e461c781ccbc
> > dispatch: make loading extra information from extension extensible
> > 
> > This patch makes loading extra information from extension module at
> > dispatching extensible. Factoring 'loadcmdtable()' outo commands.py is
> > a part of generalization of loading extra information.
> > 
> > This extensibility assumes registration of new function like below,
> > for example:
> > 
> >   - revset predicate
> >   - fileset predicate
> >   - template keyword
> >   - template filter
> >   - template function
> >   - internal merge tool
> >   - web command
> 
> The series looks good to me, many thanks.
> 
> But code freeze is coming, I lean towards not rolling out new registrar
> functions in 3.7. Perhaps you have much more follow-up patches? I also have
> commands.norepo patches related to this series.

IMHO, it is reasonable to hold this series until releasing 3.7, if it
isn't so problematic to release current predicate/extpredicate in
revset derived from funcregistrar/delayregistrar of registrar.

Should I write Plan page or so on wiki to avoid confusion about
writing additional functions for revset and so on ?

----------------------------------------------------------------------
[FUJIWARA Katsunori]                             foozy at lares.dti.ne.jp


More information about the Mercurial-devel mailing list