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).
精彩评论