Unicode file names on mercurial 2.5 windows (or future)

First, I know Mercurial: the problem with non-ascii letters in file names between Windows and Linux, and What does DVCS support Unicode file names? . But they are old and do not belong to the latest versions of mercury.

They both mention the FixUtf8 extension - which does n’t work with the latest version of mercury (2.3. 1 at the time of writing) and, apparently, did not work with Mercurial 2.0. In fact, enabling this extension will not allow you to add any files at all, even the usual "vanilla" ascii filenames. FixUtf8Extension seems to have been abandoned - the last commit was in 2010.

I have been a happy Mercurial user so far, but now I am in an international project where support for file names other than ascii is important. I will have to look at alternative version control systems if this cannot be considered in mercurial.

Is there support for Unicode file names in general with the latest versions of mercurial on Windows?

+7
source share
1 answer

No, Mercurial still does not support file name conversion. That is, it will check the file names as binary strings, and you will run into problems if you need to move files between systems with incompatible file name encodings.

If everyone on your team uses Windows with the same code page, you can use non-ASCII characters just fine. They will be stored inside the repository on any code page that you use, but everyone will be able to use the files.

If you need to transfer files between platforms, for now, stick to ASCII file names.

There is a Windows UTF-8 plan in the work, and FUJIWARA Katsunori is working on it , but it is not yet (September 2012) ready.

+6
source

All Articles