branch: avoid fallback analysis on empty repos
We've been worried to see so many "defaulting to slow direct analysis" in the logs (especially in developer setups), as we are on the verge to rely on the GitLab state files only in some cases (RHGitaly). It turns out that all such logs emitted by a local functional tests run were actually about empty repos (`heptapod-tests-run --heptapod-remote --heptapod-hg-native=full`). It will be interesting to check foss.heptapod.net logs. In theory, we should not see any such warning. The early returns are of course much simpler, not sure if that is a performance boost in general, though, since the condition will be checked for all calls and most of them are not on empty repositories.
parent
32b0304d
No related branches found
No related tags found
Please register or sign in to comment