Mercurial > hg-stable
changeset 10130:7936cd261dc9
test-import-eol: improve binary hunks test
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Wed, 23 Dec 2009 19:31:48 +0100 |
parents | 900ccbd79ef7 |
children | ef5b537433da |
files | tests/test-import-eol tests/test-import-eol.out |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-import-eol Wed Dec 23 19:31:48 2009 +0100 +++ b/tests/test-import-eol Wed Dec 23 19:31:48 2009 +0100 @@ -73,9 +73,9 @@ hg st # Test --eol and binary patches -python -c 'file("b", "wb").write("a\x00\nb")' +python -c 'file("b", "wb").write("a\x00\nb\r\nd")' hg ci -Am addb -python -c 'file("b", "wb").write("a\x00\nc")' +python -c 'file("b", "wb").write("a\x00\nc\r\nd")' hg diff --git > bin.diff hg revert --no-backup b echo % binary patch with --eol