equal
deleted
inserted
replaced
220 continue |
220 continue |
221 target = self._encode[key] |
221 target = self._encode[key] |
222 data = ctx[f].data() |
222 data = ctx[f].data() |
223 if (target == "to-lf" and "\r\n" in data |
223 if (target == "to-lf" and "\r\n" in data |
224 or target == "to-crlf" and singlelf.search(data)): |
224 or target == "to-crlf" and singlelf.search(data)): |
225 failed.append((f, target, str(ctx))) |
225 failed.append((f, target, bytes(ctx))) |
226 break |
226 break |
227 return failed |
227 return failed |
228 |
228 |
229 def parseeol(ui, repo, nodes): |
229 def parseeol(ui, repo, nodes): |
230 try: |
230 try: |