comparison tests/test-diff-newlines @ 2248:b914f0557832

fix diffs containing embedded "\r". add test to make sure fix stays fixed.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Wed, 10 May 2006 10:31:54 -0700
parents
children
comparison
equal deleted inserted replaced
2247:546c76e5a3e6 2248:b914f0557832
1 #!/bin/sh
2
3 hg init
4 python -c 'print "confuse str.splitlines\nembedded\rnewline"' > a
5 hg ci -Ama -d '1 0'
6 echo clean diff >> a
7 hg ci -mb -d '2 0'
8 hg diff -r0 -r1