Skip to content

Generalize reference locking

Justin Tobler requested to merge jt/backend-generic-ref-lock into master

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

Merge request reports