Dealing with CR/LF.
--- 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.
============================================
::