Skip to content
Snippets Groups Projects
Commit 0b3b6302 authored by Georges Racinet's avatar Georges Racinet
Browse files

Gitaly comparison tests: general invalidation method

The previous way of invalidating the Mercurial to Git map
was to delete the cached property, but it raises an error if
it has not been used before. In theory the invalidation could
be removed if not necessary any more. In practice, this forces
to check that it is normal. Better to encapsulate.

Also, for simplicity, we also invalidate Mercurial caches by reloading
the repo.
parent 88981e79
No related branches found
No related tags found
2 merge requests!155Gitaly v15.7: Matching protocol and fixing Comparison tests,!154FindCommit Comparison tests
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment