tests/test-diff-newlines
author Matt Mackall <mpm@selenic.com>
Thu, 22 Mar 2007 23:37:44 -0500
changeset 4261 cd7b36b7869c
parent 2248 b914f0557832
permissions -rwxr-xr-x
restructure changelog file appending - make appending code proper part of changelog with delayupdate/finalize - use simplified appender that tracks pending data in memory - eliminate old appendfile and helper classes - update addchangegroup to use new interface and reuse the existing changelog

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