Win32Text to Eol Migration
How to migrate from the deprecated Win32TextExtension to the newer EolExtension.
For example, your configuration file (mercurial.ini or .hgrc file) contains the following lines:
[extensions] win32text= [decode] **.dfm = cleverdecode: [encode] **.dfm = cleverencode:
Replace win32text with eol in your config file. Your config now looks like this:
[extensions] eol=
Create a .hgeol file in your repository beginning with the following line:
[patterns]
Take all lines in your [encode] section and replace cleverencode: with native. For example:
[patterns] **.dfm = native
Commit .hgeol
- Remove the encode/decode sections in the config file.
- You're done!