hgext/eol.py
branchstable
changeset 12802 c82cd7b08158
parent 12308 2ae4d6c31dcc
child 12974 75e4fade4ad9
child 12975 278e3c9b939e
equal deleted inserted replaced
12801:cddea24aafed 12802:c82cd7b08158
    49 The extension uses an optional ``[eol]`` section in your hgrc file
    49 The extension uses an optional ``[eol]`` section in your hgrc file
    50 (not the ``.hgeol`` file) for settings that control the overall
    50 (not the ``.hgeol`` file) for settings that control the overall
    51 behavior. There are two settings:
    51 behavior. There are two settings:
    52 
    52 
    53 - ``eol.native`` (default ``os.linesep``) can be set to ``LF`` or
    53 - ``eol.native`` (default ``os.linesep``) can be set to ``LF`` or
    54   ``CRLF`` override the default interpretation of ``native`` for
    54   ``CRLF`` to override the default interpretation of ``native`` for
    55   checkout. This can be used with :hg:`archive` on Unix, say, to
    55   checkout. This can be used with :hg:`archive` on Unix, say, to
    56   generate an archive where files have line endings for Windows.
    56   generate an archive where files have line endings for Windows.
    57 
    57 
    58 - ``eol.only-consistent`` (default True) can be set to False to make
    58 - ``eol.only-consistent`` (default True) can be set to False to make
    59   the extension convert files with inconsistent EOLs. Inconsistent
    59   the extension convert files with inconsistent EOLs. Inconsistent