eol: explain why reading .hgeol from the working dir is special
authorPatrick Mezard <pmezard@gmail.com>
Sun, 13 Mar 2011 15:07:44 +0100
changeset 13611 358924b0abce
parent 13609 e035356dbfdc
child 13612 21367c3da8aa
eol: explain why reading .hgeol from the working dir is special
hgext/eol.py
--- 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()