[PATCH] revset: added smartset attribute to new classes to test at mfunc and getset

Matt Mackall mpm at selenic.com
Wed Feb 19 14:32:06 CST 2014


On Tue, 2014-02-18 at 16:13 -0800, Lucas Moscovicz wrote:
> # HG changeset patch
> # User Lucas Moscovicz <lmoscovicz at fb.com>
> # Date 1392767686 28800
> #      Tue Feb 18 15:54:46 2014 -0800
> # Node ID d9813f85f80e36e413da7bd1b5edd3a2118bc715
> # Parent  c29948fed40a2d9755ecaa01ec05bfa542f65670
> revset: added smartset attribute to new classes to test at mfunc and getset
> 
> Now extensions shouldn't break when adding new revsets.

Am I right in thinking all revset classes already implement a set()
method while legacy revset lists won't? Perhaps we should distinguish on
that instead.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list