Mercurial > hg
comparison tests/test-import-eol.t @ 41707:140b542b0e59
tests: double escape \ in test-import-eol.t and test-mq-eol.t
The shell eats the \\.
Differential Revision: https://phab.mercurial-scm.org/D5974
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Fri, 15 Feb 2019 13:07:07 -0800 |
parents | 7295279b9ea5 |
children |
comparison
equal
deleted
inserted
replaced
41706:7396508ad92b | 41707: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 |