When I try to clone this repo from a clean state:
https://bitbucket.org/gregsdennis/manatee.trello/
SourceTree (Windows) is showing *every* file as edited, and *every* line of the files as new. In the screenshot, I've highlighted a particularly short file so that it'd be easy to see how each line is touched except the last.
I'm guessing that's a line-ending thing (?), which I wouldn't necessarily expect to happen, but I'm also unable to shelf "my changes"; there's no change after "shelving".
Haven't had this problem in the past with git repos.
Is there a Mercurial-specific setting for line-endings I've set incorrectly? Even so, why wouldn't I be able to shelf my "changes"?
Thanks.
As step 1 to make sure line endings are the problem, check that "ignore whitespace" box above the diff. Your files will still be shown as modified on the right, but the diff should be empty if changes are white-space only.
Then check out this post on stack overflow: http://stackoverflow.com/questions/10802918/converting-mercurial-unix-line-endings-to-windows
EDIT: Sorry -- I should have mentioned that checking "Ignore Whitespace" does return nothing in the text area, so that is the difference.
Should Mercurial have downloaded the files and changed the line endings? That is, I would've expected the line endings to stay the same as in the repo on initial download. The screenshot shows *the initial state* after a clean pull for me. That seems like a bug, unless I'm missing a setting somewhere.
Similarly, I would've expected a Shelf to fix it.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.