tests/test-diff-newlines
author NIIMI Satoshi <sa2c@sa2c.net>
Thu, 11 Oct 2007 06:10:45 +0900
changeset 5467 521284cdbcb4
parent 2248 b914f0557832
permissions -rwxr-xr-x
mercurial.el: mark-marker() returns non-nil with no active mark on GNU Emacs

#!/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