bs_get_record function

Get an arbitrary record from a repo