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.
Report the full chain of repositories for WORKSPACE cycles
When a cycle through the workspace file is found, this should indicate that a repository was used prior to being defined (either because it was defined too late, or because it wasn't defined at all). In this case do not only report the load statement that eventually lead to the missing definition, but the full list of repositories involved; in particular, indicate that the last one in this chain is the one where the definition is missing. Fixes bazelbuild#7871. Improves on bazelbuild#7784. Change-Id: Ic3eb499460c87ad5c78f21373d34e2ccbba2f2fe PiperOrigin-RevId: 243804742
- Loading branch information
1 parent
4c61b64
commit 7f26f7d
Showing
2 changed files
with
97 additions
and
33 deletions.
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