[PATCH 1 of 2] graft: find ancestors of destination lazily

Augie Fackler raf at durin42.com
Sun Apr 7 15:01:39 CDT 2013


On Apr 6, 2013, at 11:15 PM, Siddharth Agarwal <sid0 at fb.com> wrote:

> +    ancestors = repo.changelog.ancestors([crev], inclusive=True)

Could this set be very large, and be worth set()ing before doing all those membership checks?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130407/9d2d22ef/attachment.html>


More information about the Mercurial-devel mailing list