TAG | tortoise
Apr/11
8
How to get shelving working in TortoiseHg 2.0
View Comments | Posted by Restuta in development
Our team has recently updated to TortoiseHg 2.0 and everybody were frustrated with the update that came with it regarding shelving. Sometimes you simply can’t unshelve your files, while keep receiving the following message “1 out of 1 hunks FAILED”:
Solution
If you are aware of what I am talking about here is the quick fix for you:
Add following lines
[patch]
eol = auto
into the next file
%userprofile%\mercurial.ini
Enjoy!
Why it happens?
It’s because of EOL handling problems when running mecutial under Windows, this line enables patch to fix it.