[PATCH 1 of 2] graft: find ancestors of destination lazily
Augie Fackler
raf at durin42.com
Sun Apr 7 20:01:39 UTC 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://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20130407/9d2d22ef/attachment-0002.html>
More information about the Mercurial-devel
mailing list