tests/test-import-eol.t
changeset 41718 140b542b0e59
parent 41564 7295279b9ea5
equal deleted inserted replaced
41717:7396508ad92b 41718:140b542b0e59
    15   >    'empty:crlf': b' \r\n',
    15   >    'empty:crlf': b' \r\n',
    16   >    'empty:stripped-lf': b'\n',
    16   >    'empty:stripped-lf': b'\n',
    17   >    'empty:stripped-crlf': b'\r\n'}[sys.argv[1]])
    17   >    'empty:stripped-crlf': b'\r\n'}[sys.argv[1]])
    18   > w(b' d\n')
    18   > w(b' d\n')
    19   > w(b'-e\n')
    19   > w(b'-e\n')
    20   > w(b'\\ No newline at end of file\n')
    20   > w(b'\\\\ No newline at end of file\n')
    21   > w(b'+z\r\n')
    21   > w(b'+z\r\n')
    22   > w(b'\\ No newline at end of file\r\n')
    22   > w(b'\\\\ No newline at end of file\r\n')
    23   > EOF
    23   > EOF
    24 
    24 
    25   $ hg init repo
    25   $ hg init repo
    26   $ cd repo
    26   $ cd repo
    27   $ echo '\.diff' > .hgignore
    27   $ echo '\.diff' > .hgignore