sapling/eden
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
..
fs model: report symlink/executable as regular files on Windows 2020-05-12 08:46:35 -07:00
integration Convert type check targets in eden to use configuration 2020-05-08 15:24:57 -07:00
locale add a copyright header to glibc_en.po 2019-04-26 14:38:27 -07:00
mononoke mononoke: pretty-print root-cause 2020-05-12 07:59:42 -07:00
scm changelog: expose rawheadrevs() API 2020-05-12 10:23:23 -07:00
scripts Tidy up license headers 2019-10-11 05:28:23 -07:00
test_support fix a file descriptor leak in the temporary file code 2020-04-28 12:11:51 -07:00
test-data enable treemanifest in snapshots 2019-08-28 18:46:03 -07:00
win add .clang-format 2020-04-28 08:42:03 -07:00
.clang-format add .clang-format 2020-04-28 08:42:03 -07:00
.gitignore eden: wire up mac contbuild 2019-02-05 21:52:30 -08:00
Eden.project.toml Eden.project.toml file for Nuclide 2018-04-26 11:05:23 -07:00