Before I begin, let me explain that I am a big Mercurial and Visual studio fan. Sure, there could be some improvements made in both, but all in all they are a decent product, which I gladly use on daily basis.
Recently, however, I stumbled upon a nasty problem. I had to make some modifications to an internal solution for tracking equipment, which is web based. I edited the content, tested it locally and performed a publish action…


… and it died. It returned some laughably crazy error that overflow-y is not supported in CSS. Not only that overflow-y is ignored by IE, it is also in this solution from the start. So that for sure wasn’t a problem. Now, I don’t know how much you know about web sites and Visual Studio, but when we publish, we do a complete deletion of content. This is due to the fact that we had several IIS issues otherwise. But about that in some other post.

Back to the problem at hand. So, the internal web site has now 0 content, which is, as you can imagine bad. On top of that I cannot publish it due to that erra. After a few hours of cursing, with nothing else to check, I just removed Mercurial .hg* files and .hg directory and suddenly, publish worked without any issues.

So, if you are using Mercurial with Visual studio, you better use it on Projects only.