-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[beta] Fix old lockfile encoding wrt newlines #7274
Merged
Merged
Conversation
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 commit fixes "old lockfile" encodings back to what they were prior to rust-lang#7070 with respect to newlines. The changes in rust-lang#7070 accidentally introduced a change where old lockfiles might have some extraneous newlines removed unintentionally. In rust-lang#7070 it was attempted to clean up how newlines are emitted to ensure a trailing blank newline never shows up at the end of the file, but this acccidentally regressed cases where today we actually do have blank newlines at the end of lock files. This commit instead restores all the previous newline handling, and then scopes the "remove trailing newlines" fix to specifically just the new encoding. Closes rust-lang#7254
r? @ehuss (rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ |
📌 Commit 458d607 has been approved by |
⌛ Testing commit 458d607 with merge c3829275923539a65a04dc98c920b5921e84728b... |
Hm, this will probably fail due to at least toml. I'll see what happens and then manually merge, I think. |
💔 Test failed - checks-azure |
bors
added a commit
to rust-lang/rust
that referenced
this pull request
Aug 27, 2019
[BETA] Update cargo 1 commits in 3f700ec43ce72305eb5315cfc710681f3469d4b4..23ef9a4ef8a96d09b1fd67b2f4e023f416bb1ff1 2019-08-19 22:43:12 +0000 to 2019-08-20 10:39:12 -0700 - [beta] Fix old lockfile encoding wrt newlines (rust-lang/cargo#7274)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a beta backport of #7262