Differences between revisions 4 and 5
Revision 4 as of 2011-03-28 06:36:51
Size: 687
Comment:
Revision 5 as of 2011-03-28 06:38:43
Size: 827
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
For example, your hgrc contains the following lines: 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:

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)