Apr/11

8

How to get shelving working in TortoiseHg 2.0

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”:

image

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.

RSS Feed
  • http://twitter.com/COTOHA COTOHA

    > eol = auto

    > It’s because of EOF handling problems

    anything strange? :)

  • http://restuta.net Restuta

    fixed

blog comments powered by Disqus

<<

>>

Find it!

Theme Design by devolux.org