sapling/bookmarks
Kostia Balytskyi b4d35b0dc9 mononoke: modify bookmark update log queries to return homogenous series
Summary:
First and foremost, this is a safe diff to land on its own as this query
is only used by the sync job and only with the `limit=1`. So the things I am
introducing are not changing any existing behavior.

General goal of this diff is to make sure that these queries always return
series of bookmark update log entries where each entry has the same reason
and bookmark. This way it is always safe to merge these entries into a single
combined entry and send this entry to Mercurial servers for replay.

NB: this same can obviously be done by a nested query, but it is a bit more convenient for me to write it this way. It can be changed if people have strong feelings about it, either now or in a separate diff.

Reviewed By: krallin

Differential Revision: D15251977

fbshipit-source-id: 028c085bb7c4c325c1926bf351b985ef1200ef41
2019-05-21 12:25:54 -07:00
..
dbbookmarks mononoke: modify bookmark update log queries to return homogenous series 2019-05-21 12:25:54 -07:00
src mononoke: modify bookmark update log queries to return homogenous series 2019-05-21 12:25:54 -07:00
Cargo.toml Add Cargo.toml files to crates. (#7) 2018-07-09 19:52:27 -07:00