mercurial fails with a file named ---.config - any way around this?

Posted by Travis Laborde on Stack Overflow See other posts from Stack Overflow or by Travis Laborde
Published on 2010-03-26T12:07:43Z Indexed on 2010/03/26 12:13 UTC
Read the original article Hit count: 254

Filed under:

We are just beginning to learn and evaluate Mercurial, due to an increasing number of nightmare merges, and various other problems we've had with SVN lately.

A client wants us to pull down a live copy of their site, do some SEO work on it, and push it back to them. They have no source control at all. I figure this is a great project to work on with Mercurial. Instead of putting it into our SVN and exporting when we are done, we'll use Mercurial... But right away it seems I have some problem :)

They have a file called "---.config" (without quotes) which seems to cause our Mercurial to barf. It just can't commit that file. I've created the repo and committed everything else, but I just can't get this one file committed.

We are running on Windows 2008 x64 with TortoiseHG 1.0.

I suppose I could ignore the file since it is unlikely we'll need to work with it, but still - I'd like to learn how to use Mercurial a bit better. Is there a way around this?

© Stack Overflow or respective owner

Related posts about mercurial