开发者

Mercurial end of line translation

开发者 https://www.devze.com 2023-02-05 10:59 出处:网络
I\'m using Mercurial on Windows for a cross-platform project, with the eol extension to translate line e开发者_Python百科ndings to Unix format, which mostly works, except .hgeol and .hgignore are not

I'm using Mercurial on Windows for a cross-platform project, with the eol extension to translate line e开发者_Python百科ndings to Unix format, which mostly works, except .hgeol and .hgignore are not translated. My .hgeol looks like this:

[patterns]
** = native
.* = native

where I got the ** line from the documentation, and then added .* just in case it works like the Unix shell expansion that otherwise ignores file names beginning with . but still no go. Is there something else I need to be doing?


The source of eol.py explicitly disable translations for files starting with .hg*:

self.cfg.set('patterns', '.hg*', 'BIN')

If that is a problem for you, please open an issue in our bugtracker (I don't know why they chose to disable it for this files).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号