Make root slash in breadcrumbs lead to repo root with respect to revision
Created by: oleggromov
Problem
Root slash link in the breadcrumbs was missing revision part of the URL (https://github.com/sourcegraph/sourcegraph/issues/26068).
Solution
Output right URL by using toRepoURL
helper, which accepts revision. For some reason, this function was "deprecated" a long ago in favor of Repository.url
, which doesn't contain revision component. So I un-deprecated it.