https://sourceforge.net/p/allura/pastebin/51599ba4bcf63a5abd59145f/
guess_repo
is called if a commit is used without first doing a set_context
on it, and it inefficiently (and potentially incorrectly) tries to determine the repository for the commit by checking all the app instances for the project. Find the spot where a commit is queried and used w/o calling set_context
and correct it to remove this call to guess_repo
.
allura:cj/6030
To test: refresh a repo before & after change and watch log for guess_repo error.