eol: fix silly test-gendoc breakage by escaping control characters
authorMatt Mackall <mpm@selenic.com>
Tue, 12 Jul 2011 16:22:36 -0500
changeset 14857 5b46c16e7121
parent 14856 9f5cd6b6d758
child 14858 1a52f04ac51b
eol: fix silly test-gendoc breakage by escaping control characters
hgext/eol.py
--- a/hgext/eol.py	Thu Jul 07 12:13:07 2011 +0200
+++ b/hgext/eol.py	Tue Jul 12 16:22:36 2011 -0500
@@ -69,8 +69,8 @@
   have mixed EOLs on purpose.
 
 - ``eol.fix-trailing-newline`` (default False) can be set to True to
-  ensure that converted files end with a EOL character (either ``\n``
-  or ``\r\n`` as per the configured patterns).
+  ensure that converted files end with a EOL character (either ``\\n``
+  or ``\\r\\n`` as per the configured patterns).
 
 The extension provides ``cleverencode:`` and ``cleverdecode:`` filters
 like the deprecated win32text extension does. This means that you can