diff hgext/factotum.py @ 32792:4374e88e808c

checkheads: use a "lazyancestors" object for allfuturecommon Instead of walking all ancestors to compute the full set we now check membership lazily. This massively speed. On a million-ish revision repository, this remove 14 seconds from the push logic, making the checkheads function disappear from profile.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 05 Jun 2017 13:44:15 +0100
parents 2c019aac6b99
children 21b568820a3c
line wrap: on
line diff