equal
deleted
inserted
replaced
564 > |
564 > |
565 > EOF |
565 > EOF |
566 >>> fp = open('binary.diff', 'rb') |
566 >>> fp = open('binary.diff', 'rb') |
567 >>> data = fp.read() |
567 >>> data = fp.read() |
568 >>> fp.close() |
568 >>> fp.close() |
569 >>> open('binary.diff', 'wb').write(data.replace(b'\n', b'\r\n')) |
569 >>> open('binary.diff', 'wb').write(data.replace(b'\n', b'\r\n')) and None |
570 $ rm binary2 |
570 $ rm binary2 |
571 $ hg import --no-commit binary.diff |
571 $ hg import --no-commit binary.diff |
572 applying binary.diff |
572 applying binary.diff |
573 |
573 |
574 $ cd .. |
574 $ cd .. |