equal
deleted
inserted
replaced
331 |
331 |
332 def commitctx(self, ctx, error=False): |
332 def commitctx(self, ctx, error=False): |
333 for f in sorted(ctx.added() + ctx.modified()): |
333 for f in sorted(ctx.added() + ctx.modified()): |
334 if not self._eolfile(f): |
334 if not self._eolfile(f): |
335 continue |
335 continue |
336 try: |
336 fctx = ctx[f] |
337 data = ctx[f].data() |
337 if fctx is None: |
338 except IOError: |
|
339 continue |
338 continue |
|
339 data = fctx.data() |
340 if util.binary(data): |
340 if util.binary(data): |
341 # We should not abort here, since the user should |
341 # We should not abort here, since the user should |
342 # be able to say "** = native" to automatically |
342 # be able to say "** = native" to automatically |
343 # have all non-binary files taken care of. |
343 # have all non-binary files taken care of. |
344 continue |
344 continue |