changeset 14857:5b46c16e7121

eol: fix silly test-gendoc breakage by escaping control characters
author Matt Mackall <mpm@selenic.com>
date Tue, 12 Jul 2011 16:22:36 -0500
parents 9f5cd6b6d758
children 1a52f04ac51b
files hgext/eol.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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