sapling/eden/mononoke/repo_import
Thomas Orozco 2f47e9263e mononoke: allow pushes in globalrev repos to ancestors of globalrev bookmark
Summary:
Like it says in the title, this updates our implementation of Globalrevs to
be a little more relaxed, and allows you to create and move bookmarks as long as
they are ancestors of the "main" Globalrevs bookmark (but NOT to pushrebase to
them later, because we only want to allow ONE globalrevs-publishing bookmark
per repo).

While in there, I also deduplicated how we instantiate pushrebase hooks a
little bit. If anything, this could be better in the pushrebase crate, but
that'd be a circular dependency between pushrebase & bookmarks movement.
Eventually, the callsites should probably be using bookmarks movement anyway,
so leaving pushrebase as the low-level crate and bookmarks movement as the high
level one seems reasonable.

Reviewed By: StanislavGlebik

Differential Revision: D26020274

fbshipit-source-id: 5ff6c1a852800b491a16d16f632462ce9453c89a
2021-02-01 05:30:57 -08:00
..
src mononoke: allow pushes in globalrev repos to ancestors of globalrev bookmark 2021-02-01 05:30:57 -08:00
Cargo.toml mononoke: allow pushes in globalrev repos to ancestors of globalrev bookmark 2021-02-01 05:30:57 -08:00
packman.yml mononoke/repo_import: update packman binary path, move package building 2020-07-14 10:19:20 -07:00