win32text deprecation, trying to use eol extension instead
Haszlakiewicz, Eric
EHASZLA at transunion.com
Thu Feb 24 23:25:03 UTC 2011
Since the win32text extension is deprecated I'm trying to switch over to using the eol extension, but I'm having some problems:
1) Where do I put the .hgeol file? I have lots of repositories and I don't want to update them all. (and for policy reasons here at work, I really shouldn't be changing many of them except as part of an official project)
I tried %USERPROFILE%, %USERPROFILE%/hgrc.d, C:\Program Files\TortoiseHg, and C:\Program Files\TortoiseHg\hgrc.d, but none of those seem to work. I tried putting the [patterns] section in mercurial.ini, but that didn't work either.
2) How do I use cleverencode/cleverdecode like I could with win32text?
Trying to list that in .hgeol just errors out with "ignoring unknown EOL style".
I don't want to have to keep updating the list of patterns every time someone adds a file with a new extension (or even with some wonky name w/o an extension).
3) Is the hgext.win32text.forbidcrlf hook going to be moved to the eolextension? If not, how do I reject commits of files with crlf line endings?
The hook seems to still work, even without the win32text extension enabled, but I'm worried that it'll break when win32text is removed.
eric
More information about the Mercurial
mailing list