adds mapping between rev_id and hex_sha for random access retrieval