##// END OF EJS Templates
test-import-eol: improve binary hunks test
Patrick Mezard -
r10130:7936cd26 default
parent child Browse files
Show More
@@ -73,9 +73,9 b' python -c \'print repr(file("neweol","rb"'
73 hg st
73 hg st
74
74
75 # Test --eol and binary patches
75 # Test --eol and binary patches
76 python -c 'file("b", "wb").write("a\x00\nb")'
76 python -c 'file("b", "wb").write("a\x00\nb\r\nd")'
77 hg ci -Am addb
77 hg ci -Am addb
78 python -c 'file("b", "wb").write("a\x00\nc")'
78 python -c 'file("b", "wb").write("a\x00\nc\r\nd")'
79 hg diff --git > bin.diff
79 hg diff --git > bin.diff
80 hg revert --no-backup b
80 hg revert --no-backup b
81 echo % binary patch with --eol
81 echo % binary patch with --eol
@@ -24,4 +24,4 b' applying noeol.diff'
24 adding b
24 adding b
25 % binary patch with --eol
25 % binary patch with --eol
26 applying bin.diff
26 applying bin.diff
27 'a\x00\nc'
27 'a\x00\nc\r\nd'
General Comments 0
You need to be logged in to leave comments. Login now