Incorrect line endings inserted in merge rejected patch view
Created originally on Bitbucket by grauw (Laurens Holst)
When I am in the merge rejected patch view, if I copy/paste from the diff area into the file editor, it adds the lines with CRLF line endings. I am running on Windows.
Steps for reproduction:
Import two changesets into MQ that use LF line endings in their files
Unapply the second patch
Alter something in the first patch that conflicts with the second
Re-apply the second patch
Answer yes to the dialog that asks if you want to merge the rejected hunk
Copy/paste a couple of lines from the rejected hunk into the file editor
Mark the hunk as resolved and save
Note that the file now has mixed line endings