##// END OF EJS Templates
tests: unify test-diff-newlines
Adrian Buehlmann -
r12143:bf840a3d default
parent child Browse files
Show More
@@ -1,8 +1,18 b''
1 #!/bin/sh
1 $ hg init
2
3 $ python -c 'print "confuse str.splitlines\nembedded\rnewline"' > a
4 $ hg ci -Ama -d '1 0'
5 adding a
6
7 $ echo clean diff >> a
8 $ hg ci -mb -d '2 0'
2
9
3 hg init
10 $ hg diff -r0 -r1
4 python -c 'print "confuse str.splitlines\nembedded\rnewline"' > a
11 diff -r 107ba6f817b5 -r 310ce7989cdc a
5 hg ci -Ama -d '1 0'
12 --- a/a Thu Jan 01 00:00:01 1970 +0000
6 echo clean diff >> a
13 +++ b/a Thu Jan 01 00:00:02 1970 +0000
7 hg ci -mb -d '2 0'
14 @@ -1,2 +1,3 @@
8 hg diff -r0 -r1
15 confuse str.splitlines
16 embedded
17 newline
18 +clean diff
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now