[PATCH 3 of 4] revset: added lazyset implementation to divergent revset

Matt Mackall mpm at selenic.com
Wed Feb 12 17:39:38 CST 2014


On Wed, 2014-02-12 at 10:02 -0800, Lucas Moscovicz wrote:
> # HG changeset patch
> # User Lucas Moscovicz <lmoscovicz at fb.com>
> # Date 1391704530 28800
> #      Thu Feb 06 08:35:30 2014 -0800
> # Node ID 90e180dce71d252f438f9dc9405e3c69687bb48e
> # Parent  1a774d348ff2593d39c063b3fcf5d63987044a4a
> revset: added lazyset implementation to divergent revset
> 
> diff --git a/mercurial/revset.py b/mercurial/revset.py
> --- a/mercurial/revset.py
> +++ b/mercurial/revset.py
> @@ -664,7 +664,7 @@
>      # i18n: "divergent" is a keyword
>      getargs(x, 0, 0, _("divergent takes no arguments"))
>      divergent = obsmod.getrevs(repo, 'divergent')

I think significant amounts of work happen in here, so this one isn't
successfully lazy. I've queued the other 3 from this set, thanks.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list