comparison hgext/eol.py @ 12980:20974e51383a stable

eol: mention the hook in the module docstring
author Martin Geisler <mg@lazybytes.net>
date Sat, 13 Nov 2010 15:57:12 +0100
parents 75e4fade4ad9
children df7c2f81afd5 cc5f0c0c19bc
comparison
equal deleted inserted replaced
12974:75e4fade4ad9 12980:20974e51383a
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
60 means that there is both ``CRLF`` and ``LF`` present in the file. 60 means that there is both ``CRLF`` and ``LF`` present in the file.
61 Such files are normally not touched under the assumption that they 61 Such files are normally not touched under the assumption that they
62 have mixed EOLs on purpose. 62 have mixed EOLs on purpose.
63
64 The ``win32text.forbid*`` hooks provided by the win32text extension
65 have been unified into a single hook named ``eol.hook``. The hook will
66 lookup the expected line endings from the ``.hgeol`` file, which means
67 you must migrate to a ``.hgeol`` file first before using the hook.
63 68
64 See :hg:`help patterns` for more information about the glob patterns 69 See :hg:`help patterns` for more information about the glob patterns
65 used. 70 used.
66 """ 71 """
67 72