changeset 13611:358924b0abce

eol: explain why reading .hgeol from the working dir is special
author Patrick Mezard <pmezard@gmail.com>
date Sun, 13 Mar 2011 15:07:44 +0100
parents e035356dbfdc
children 21367c3da8aa
files hgext/eol.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/eol.py	Sun Mar 13 13:52:47 2011 +0100
+++ b/hgext/eol.py	Sun Mar 13 15:07:44 2011 +0100
@@ -191,6 +191,8 @@
             if data is None:
                 try:
                     if node is None:
+                        # Cannot use workingctx.data() since it would load
+                        # and cache the filters before we configure them.
                         data = self.wfile('.hgeol').read()
                     else:
                         data = self[node]['.hgeol'].data()