sapling/eden
Aida Getoeva bc392c1dfa mononoke/hooks: extend file content manager to search for last updates
Summary:
OWNERS hook sometimes needs to know the most recent changes made to the OWNERS files. So the user, who was last to change the OWNERS file, can change it again.

This diffs extends `FileContentManager` trait to have a new method `recent_changes`. It derives unode manifest for the given bookmark, finds given paths and gets linknodes. For the linknodes it derives `ChangesetInfo` which is a lightweight version of the bonsai changesets, they contain all the metadata, but don't have a set file changes.

We use unodes here instead of hg manifests, because hg manifests don't have correct linknodes.

Reviewed By: StanislavGlebik

Differential Revision: D26468603

fbshipit-source-id: 78dd0a4e51bee6228de1296eafe7ffa393df2fbe
2021-02-18 18:46:26 -08:00
..
fs fs: add an NfsDispatcher 2021-02-17 23:32:38 -08:00
integration Add annotations to eden/integration/lib/pexpect.py 2021-02-17 10:30:15 -08:00
locale add a copyright header to glibc_en.po 2019-04-26 14:38:27 -07:00
mononoke mononoke/hooks: extend file content manager to search for last updates 2021-02-18 18:46:26 -08:00
scm mononokepeer: don't concat strings when help message not set 2021-02-18 18:00:27 -08:00
test_support Manually upgrading eden, and fixing their config 2020-08-06 12:37:04 -07:00
test-data enable treemanifest in snapshots 2019-08-28 18:46: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