Gitaly Comparison test_raw_blame: rewrote with RpcHelper
This one demonstrates the case where one needs the `RpcHelper` instance in the normalizer, hence a chicken-and-egg problem that Python closure rules don't have a problem with. Still it would be better to introduce a `rpc_helper` argument to the normalizer. Also cheating a bit, relying on the fact that `hg2git(git_sha)` will always return `git_sha`. It would be better to introduce a `vcs` kwarg to normalizers. Both changes require changing all existing normalizers, so it be better be done in a follow-up.
parent
9daed7d5
No related branches found
No related tags found
Loading
Please register or sign in to comment