问题描述
我在samba服务器上有一个中央Hg存储库,有两个工作副本,一个在Ubuntu上,一个在Windows 7计算机上.一切工作正常,直到我错误地将名称带有俄语字母的文件添加到项目中.我已经在Linux中做到了. Mercurial欣然接受了它,并且在Linux中一切仍然有效.但是我发现我无法再将变更集拉到Windows.对于hg pull
我得到
I have a central Hg repository on a samba server, and two working copies, one on a Ubuntu and one on a Windows 7 machine. Everything worked fine until I, by mistake, added to the project a file with a Russian letter in the name. I've done it in Linux. Mercurial has happily accepted it and in Linux everything still works. However I've discovered that I cannot pull changesets to Windows any longer. For hg pull
I get
pulling from ...
searching for changes
adding changesets
transaction abort!
rollback completed
abort: empty or missing revlog for figures/interfDðÁsign.svg
(问题文件名应该是interfDеsign,其中带有西里尔字母'е'.)我已经在Linux中重命名了该文件,提交并推送了更改,如果我在Windows中执行hg in
,甚至可以看到此更改.但是我不能拉它!有什么方法可以纠正此问题,并使存储库再次与Windows一起使用?
(The problematc filename should be interfDеsign, with Cyrillic 'е' in it.) I've renamed the file in Linux, committed and pushed the change, and can even see this change if I do hg in
in Windows. But I cannot pull it! Is there any way to correct this problem and make the repository work with Windows again?
推荐答案
阅读此... http://groups.google.com/group/mercurial_general/browse_thread/thread/300a3f5e1a23592e 没有好消息:-)
Read this... http://groups.google.com/group/mercurial_general/browse_thread/thread/300a3f5e1a23592eThere are no good news :-)
但是
可能有个解决方法:尝试 https://www.mercurial-scm.org /wiki/FixUtf8Extension
there could be a fix: try this https://www.mercurial-scm.org/wiki/FixUtf8Extension
这篇关于Mercurial:Windows和Linux之间的文件名中非ASCII字母的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!