Generalize reference locking
Some tests set up reference locks by directly creating the lockfile. While this works for the files reference backend, reftable reference locks operate differently and are incompatible with this approach. Generalize reference locking by preparing a reference transaction.
Signed-off-by: Justin Tobler jltobler@gmail.com
Edited by Justin Tobler