How do I specify the CRLF encode/decode option in mercurial.ini in Windows?
The documentation gives the following options:
[extensions]
win32text =
[decode]
** = cleverdecode:
[encode]
** = cleverencode:
for all files and,
[extensions]
win32text =
[decode]
**.txt = cleverdecode:
[encode]
**.txt= cleverencode:
for one kind of files (here .txt files).
What I need is to specify *.xml, *.java etc!
Add more lines to the
[decode]and[encode]sections:By the way, the double-star matches any path and spans directory separators. See
hg help patternsfor more information about the so-called “globbing” options in Mercurial.