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:
  1. Replace win32text with eol in your config file. Your config now looks like this:

    [extensions]
    eol=
  2. 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
  3. Commit .hgeol

  4. Remove the encode/decode sections in the config file.
  5. You're done!

MigratingFromWin32TextToEol (last edited 2011-03-28 06:38:43 by MartinGeisler)