[PATCH STABLE V2] hgweb: cache fctx.parents() in annotate command (issue5414)

Jun Wu quark at fb.com
Mon Nov 7 17:32:40 UTC 2016


Excerpts from Gregory Szorc's message of 2016-11-07 09:29:40 -0800:
> Could we change basefilectx.annotate() to return a rich data structure
> instead of a list of tuples? That data structure could have the cached
> parents and other reusable cache data (which could be passed into
> subsequent calls if needed).

It's already returning "fctx", which is rich...



More information about the Mercurial-devel mailing list