sapling/eden/scm/pystubs
Jun Wu 1535e0774e changelog: expose rawheadrevs() API
Summary:
In the past we hide the revlog headrevs API with the idea that calculating
heads in the DAG is not going to scale, and heads should be based on references
(remotenames, visible heads). Practically calculating heads in the DAG based
on segmented changelog is not going to be painfully slow so we probably can
afford it.

Therefore let's just re-expose the DAG-based heads API as rawheads. The only
user of it is in dagutil.py.

This will be used in the next diff where streamclone first gets the revlog
changelog copied without remote bookmarks. Then it needs to do a pull
which requires the heads information.

Reviewed By: DurhamG

Differential Revision: D21296530

fbshipit-source-id: a81a61e3b58c921a3390fda8f716bd7ae0e55ed1
2020-05-12 10:23:23 -07:00
..
bindings fsinfo: expose fstype via bindings.fs.fstype 2020-03-11 17:35:40 -07:00
edenscm/mercurial changelog: expose rawheadrevs() API 2020-05-12 10:23:23 -07:00
bindings.pyi py3: fix some type issues detected by pyre with some type stubs 2020-01-31 16:38:02 -08:00