--- a/hgext/eol.py Sun Oct 09 13:50:53 2016 +0200
+++ b/hgext/eol.py Sun Oct 09 15:42:42 2016 +0200
@@ -305,9 +305,9 @@
return eol.match
def _hgcleardirstate(self):
- self._eolfile = self.loadeol([None, 'tip'])
- if not self._eolfile:
- self._eolfile = util.never
+ self._eolmatch = self.loadeol([None, 'tip'])
+ if not self._eolmatch:
+ self._eolmatch = util.never
return
try:
@@ -344,7 +344,7 @@
def commitctx(self, ctx, haserror=False):
for f in sorted(ctx.added() + ctx.modified()):
- if not self._eolfile(f):
+ if not self._eolmatch(f):
continue
fctx = ctx[f]
if fctx is None: