##// END OF EJS Templates
eol: fix variable naming - call it _eolmatch instead of _eolfile...
Mads Kiilerich -
r30113:ffb68241 default
parent child Browse files
Show More
@@ -305,9 +305,9 b' def reposetup(ui, repo):'
305 return eol.match
305 return eol.match
306
306
307 def _hgcleardirstate(self):
307 def _hgcleardirstate(self):
308 self._eolfile = self.loadeol([None, 'tip'])
308 self._eolmatch = self.loadeol([None, 'tip'])
309 if not self._eolfile:
309 if not self._eolmatch:
310 self._eolfile = util.never
310 self._eolmatch = util.never
311 return
311 return
312
312
313 try:
313 try:
@@ -344,7 +344,7 b' def reposetup(ui, repo):'
344
344
345 def commitctx(self, ctx, haserror=False):
345 def commitctx(self, ctx, haserror=False):
346 for f in sorted(ctx.added() + ctx.modified()):
346 for f in sorted(ctx.added() + ctx.modified()):
347 if not self._eolfile(f):
347 if not self._eolmatch(f):
348 continue
348 continue
349 fctx = ctx[f]
349 fctx = ctx[f]
350 if fctx is None:
350 if fctx is None:
General Comments 0
You need to be logged in to leave comments. Login now