G
G
Gregy2012-08-27 05:35:50
linux
Gregy, 2012-08-27 05:35:50

How to achieve Russian filenames in Mercurial on Linux, Mac, Windows 7?

We moved to Mercurial from SVN, and there was a minor problem that annoys everyone. If you publish a file with a name that contains Russian letters from Linux/Mac to rap, then the file name is normally displayed only on these platforms, and if you publish it to rap from Windows 7, then the file name is clumsily displayed on Linux/Mac. How to make it all right? We use Mercurial 2.2.3 everywhere
The problem, as I understand it, is that on Linux / Mac the file name is in UTF-8, and on Windows in WIN-1251. But it's not clear how to force the names to be recoded when synchronizing repositories.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
ixSci, 2012-08-27
@ixSci

Here is something similar

E
exmachine, 2012-08-27
@exmachine

If development under both systems is really relevant, then I strongly advise you to limit yourself to ASCII in file names.
Moreover, even more important than the encoding, do not allow duplication of names in different cases.
Tried working with FixUTF8Extension. Even finished it in places. In practice, it crashes TortioseHG in the most unexpected places due to the difference in the organization of the file system. Its support became costly and it turned out to be easier to fix the repository.

S
Sugia, 2012-11-28
@sugia

I would like to know the status of the problem. Has it not been resolved yet?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question