hg.rst
changeset 2103 a21980c282c8
parent 2080 bb2f6fcce8d4
child 2228 837f1337c59b
--- a/hg.rst	Mon Feb 20 23:19:22 2017 +0200
+++ b/hg.rst	Mon Feb 20 23:33:57 2017 +0200
@@ -500,6 +500,32 @@
 
   $ hg st -un0 | xargs -0 rm
 
+Dealing with CR/LF
+==================
+
+Enable ``eol`` extension::
+
+  [extensions]
+  eol =
+
+Configure defaults::
+
+  [eol]
+  native = CRLF
+  only-consistent = False
+
+Per project configuration set via  ``.hgeol``::
+
+  [patterns]
+  **.py = native
+  **.txt = native
+  **.vcproj = CRLF
+  Makefile = LF
+  **.jpg = BIN
+
+https://www.mercurial-scm.org/wiki/EolExtension
+  Official wiki about CR/LF.
+
 Find greatest common ancestor of changesets.
 ============================================
 ::