forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
repository mapping lookup: convert to canonical name first
By the way we propagate the information in which repository we are in, we always have a repository name that is valid in the main repository; however, it is not necessarily a canonical name. Our map of the repository mappings, however, is keyed by canonical names. So, add the missing indirection and first look up the canonical name for the repository name we're given by looking it up in the mapping of the main repository (for which we know its canonical name) and only then use that name as key. Fixes a bug related to bazelbuild#7130. Prerequisite to flip --incompatible_remap_main_repo. Therefore, consider for Bazel 0.29.0 (bazelbuild#8572). Change-Id: Icd426a18aaa406b614f4948a8122177463a72959 PiperOrigin-RevId: 265012106
- Loading branch information
1 parent
5697da9
commit 76ed014
Showing
2 changed files
with
70 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters