# HG changeset patch # User Patrick Mezard # Date 2011-03-13 14:07:44 # Node ID 358924b0abce1514785b0576e73ddaa4dee895c0 # Parent e035356dbfdca08af4b0461549379dfa27432f76 eol: explain why reading .hgeol from the working dir is special diff --git a/hgext/eol.py b/hgext/eol.py --- a/hgext/eol.py +++ b/hgext/eol.py @@ -191,6 +191,8 @@ def reposetup(ui, repo): 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()