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._eol |
|
308 | self._eolmatch = self.loadeol([None, 'tip']) | |
309 |
if not self._eol |
|
309 | if not self._eolmatch: | |
310 |
self._eol |
|
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._eol |
|
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