Skip to content

Commit

Permalink
Change message
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Jan 21, 2025
1 parent ab74ba3 commit 78f27e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,9 @@ private static Map<RepoRecordedInput, String> readMarkerFile(
// Break early, need to reload anyway. This also detects marker file version changes
// so that unknown formats are not parsed.
return ImmutableMap.of(
new RepoRecordedInput.NeverUpToDateRepoRecordedInput("repo rule changed"), "");
new RepoRecordedInput.NeverUpToDateRepoRecordedInput(
"Bazel version, flags, repo rule definition or attributes changed"),
"");
}
firstLineVerified = true;
recordedInputValues = new TreeMap<>();
Expand Down
4 changes: 2 additions & 2 deletions src/test/py/bazel/bzlmod/bazel_vendor_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ def testBuildingOutOfDateVendoredRepo(self):
# external and not a symlink
self.assertIn(
"WARNING: <builtin>: Vendored repository '+ext+justRepo' is"
' out-of-date (repo rule changed). The up-to-date version will be fetched into the external'
' out-of-date (Bazel version, flags, repo rule definition or attributes changed). The up-to-date version will be fetched into the external'
' cache and used. To update the repo in the vendor directory, run'
' the bazel vendor command',
stderr,
Expand Down Expand Up @@ -549,7 +549,7 @@ def testBuildingVendoredRepoWithNoFetch(self):
)
self.assertIn(
"WARNING: <builtin>: Vendored repository '+ext+venRepo' is"
' out-of-date (repo rule changed) and fetching is disabled. Run build without the'
' out-of-date (Bazel version, flags, repo rule definition or attributes changed) and fetching is disabled. Run build without the'
" '--nofetch' option or run the bazel vendor command to update it",
stderr,
)
Expand Down

0 comments on commit 78f27e9

Please sign in to comment.