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:
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!