tests/test-diff-newlines
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Sat, 10 Mar 2007 22:03:20 -0300
changeset 4170 7b5723c95a82
parent 2248 b914f0557832
permissions -rwxr-xr-x
Save an absolute path in repo.path This should keep things working if the process changes directories after creating a repo object.

#!/bin/sh

hg init
python -c 'print "confuse str.splitlines\nembedded\rnewline"' > a
hg ci -Ama -d '1 0'
echo clean diff >> a
hg ci -mb -d '2 0'
hg diff -r0 -r1