I have used Mercurial to maintain my code editions. My company’s server is using SVN and I want to maintain my local repository, so I commit into my Hg when I have a little change to my code. After testing my code carefully, then I can push back my code into SVN server.

I installed TortoiseHg and I can clone other open source projects to my computer. And I have HgSubversion plugin installed correctly.

Right now I can do the clone operation using following commands:

$ hg clone svn+https://XXXX:8443 test

But after the clone is finished, there is just a folder .hg under test folder.

Why this happen? How can I fix it?

It might have some files which stored with non-ascii file name in repository. Mercurial can’t treat non-ascii file name correctly so far. Have you tried to check out the log? You can do it with command “hg log” to make sure all files had been imported into Mercurial. Then download and install the extention fixutf8. That can fix the problem. After you install fixutf8 you can update current working folder to tip reversion again.

Thanks StackOverflow for providing a platform to let me ask Edison Chuang for help.

© 2011, The Big Bang on Reading Busy. All rights reserved.
On republishing this post you must provide link to the original post.

Post a Comment