Load naming table from saved state in hh_bulk_check
Summary:
Previous diff used Lwt which conflicts with `future.ml`. This new version uses future instead.
Before this diff, `hh_bulk_check` tool requires the caller to provide an up-to-date naming table which may not be convenient for users.
This diff enables `hh_bulk_check` to self generate a naming table. It does so with code to download naming table from saved state and then apply changed files since saved state to the naming table. Most of the logic is borrowed from `hh_lite` tool. Eventually, I hope we can share the code in a more usable way instead of copying it. Long term, we can even consider merging `hh_lite` and `hh_bulk_check` tool.
Reviewed By: 2BitSalute
Differential Revision:
D20878723
fbshipit-source-id:
9881c2bdd0c474fea1920e4c38afa9a386993e7e