When a commit could not be found, JGit throws a MissingObjectException.
Because this extends IOException, the according catch block is executed
with a log with level ERROR and the message, that the repository could not
be opened. This is simply wrong.
With this, we catch the MissingObjectException explicitly and simply return null.
This performance optimization results from the fact that during namespace loading, read permissions are no longer verified for every repository, but only for those that would result in a new namespace. Simply put: If a namespace has already been discovered, no further repositories within that namespace are checked.
We need the new function `streamAll` for this, because the `getAllRepositories` would create all repositories before returning them, which would make it impossible to intervene in time using the filter parameter.
- Fix startup issue with unfinished export of deleted repository
- Add withIgnoreReadOnly setting
- Build store with ignore read only flag
- Add logging
With this, we updated the zipped test repositories in
scm-plugins/scm-hg-plugin/src/test/resources/sonia/scm/repository
with `hg debugupgraderepo --run` and a hg version 5.3.1
It lookes like the old format does not work with newer
version of hg (maybe since 6.x or 6.7 or something)
Squash commits of branch feature/diff_tree_extension:
- Add optional extension for diff file tree
- Make it a wrapper
- Make extension more complex
- Log change
Squash commits of branch bugfix/failing-to-load-gravatar:
- Fix line break if gravatar image could not be loaded
- Fix overlapping text inside the commit overview if the avatar alt text is shown
- Fetching of gravatar images getting blocked by Cross-Origin-Embedder-Policy
- Fix border-radius
- Fix outdated storyshots