Answer the question
In order to leave comments, you need to log in
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
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.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question