[PATCH] smartset: move set classes and related functions from revset module (API)

Sean Farley sean at farley.io
Mon Feb 6 14:27:45 EST 2017


Yuya Nishihara <yuya at tcha.org> writes:

> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1476606531 -32400
> #      Sun Oct 16 17:28:51 2016 +0900
> # Node ID a555e941ebe982cc22e15670bfe125017b3121e5
> # Parent  8d7e40524ae467b3201e264e3548681c52bb6492
> smartset: move set classes and related functions from revset module (API)
>
> These classes are pretty large and independent from revset computation.
>
>   2961 mercurial/revset.py
>    973 mercurial/smartset.py
>   3934 total
>
> revset.prettyformatset() is renamed to smartset.prettyformat(). Smartset
> classes are aliased since they are quite common in revset.py.

Love it. Plz moar cleanup!


More information about the Mercurial-devel mailing list