sapling/eden/scm/edenscm
Durham Goode 5c755e5130 dagop: move cutfunc to walkrevtree
Summary:
Previously, _genrevancestor applied it's cutfunc function (which is
usually used to bound an ancestor traversal from processing public nodes) when
producing the parents of the current rev. In the walkrevtree function this means
we have to invoke cutfunc before we enqueue new parents onto the heap. This can
mean we have to process very old commits, even though walkrevtree might never
get to them.

Let's move the cutfunc to be at the deque stage instead of enque. When we make
public phases lazy, this will let us avoid looking up really old commits and
speed things up a lot.

Reviewed By: quark-zju

Differential Revision: D23921324

fbshipit-source-id: 8b520e9184441b9bd7581cdb71414f406cf9b544
2020-09-25 09:28:30 -07:00
..
hgdemandimport demanedimportpy3: fix demandimport for ipdb 2020-06-22 08:59:14 -07:00
hgext treemanifest: add HTTP fetching 2020-09-24 16:46:39 -07:00
mercurial dagop: move cutfunc to walkrevtree 2020-09-25 09:28:30 -07:00
__init__.py dispatch: run command in non-main thread 2020-09-18 18:47:24 -07:00
__main__.py edenscm: add a main module 2020-01-30 18:09:14 -08:00
hooks.py py3: fix conflictinfo compatibility 2020-09-01 18:31:35 -07:00
traceimport.py debugshell: improve "%trace" UX 2020-09-01 13:49:13 -07:00