[PATCH 2 of 2] revset: added extend and append methods to lazy structures

Lucas Moscovicz lmoscovicz at fb.com
Fri Feb 21 17:50:54 CST 2014


On 2/21/14, 3:29 PM, "Matt Mackall" <mpm at selenic.com> wrote:

>On Wed, 2014-02-19 at 16:00 -0800, Lucas Moscovicz wrote:
>> # HG changeset patch
>> # User Lucas Moscovicz <lmoscovicz at fb.com>
>> # Date 1392320573 28800
>> #      Thu Feb 13 11:42:53 2014 -0800
>> # Node ID d9bb5abb1c584e3e04ac3632805ff8886b1a2973
>> # Parent  4c90d85a7bc219eac7575beb7257619330f17c02
>> revset: added extend and append methods to lazy structures
>> 
>> This methods will be used to duck type baseset.
>
>What code currently uses extend or append? Can we consider changing that
>code instead?

Extend is actually used on scmutil on revrange method which I changed in
later patches to work with lazysets.


>
>I've queued patch 1.
>
>-- 
>Mathematics is the supreme nostalgia of our time.
>
>



More information about the Mercurial-devel mailing list