comparison tests/test-diff-newlines.t @ 12143:bf840a3d1af2

tests: unify test-diff-newlines
author Adrian Buehlmann <adrian@cadifra.com>
date Thu, 02 Sep 2010 11:20:23 +0200
parents tests/test-diff-newlines@b914f0557832
children 05fffd665170
comparison
equal deleted inserted replaced
12142:a55e3c50868f 12143:bf840a3d1af2
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'
9
10 $ hg diff -r0 -r1
11 diff -r 107ba6f817b5 -r 310ce7989cdc a
12 --- a/a Thu Jan 01 00:00:01 1970 +0000
13 +++ b/a Thu Jan 01 00:00:02 1970 +0000
14 @@ -1,2 +1,3 @@
15 confuse str.splitlines
16 embedded
17 newline
18 +clean diff
19