tests/test-diff-newlines.t
changeset 12143 bf840a3d1af2
parent 2248 b914f0557832
child 12942 05fffd665170
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